mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +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
|