2
0
forked from Ivasoft/openwrt

base-files: remove shebang from uci-defaults files

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>
This commit is contained in:
Adrian Schmutzler
2019-11-07 22:29:21 +01:00
parent dfd8c45a98
commit 4b81c1fd57
4 changed files with 1 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
. /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