mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
4b81c1fd57
uci-defaults are sourced and non-executable, so they do not require a shebang. While at it, apply consistent naming scheme. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
10 lines
178 B
Plaintext
10 lines
178 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
|