mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 18:34:53 +00:00
d7d6e055e9
This replaces deprecated backticks by more versatile $(...) syntax. This does not touch lib/upgrade/nand.sh, as there replacement is not trivial. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
10 lines
179 B
Plaintext
10 lines
179 B
Plaintext
. /lib/functions.sh
|
|
|
|
for file in $(grep -sl Require-User /usr/lib/opkg/info/*.control); do
|
|
file="${file##*/}"
|
|
file="${file%.control}"
|
|
add_group_and_user "${file}"
|
|
done
|
|
|
|
exit 0
|