diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:01:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:01:54 +0000 |
commit | 3d275a8debea2d31b40e17bc3ba93bf676802dbc (patch) | |
tree | 581519aa736ac0124586d91f6955fc84f5d194cd /package/base-files/files/lib | |
parent | 4a6ad541d8c5fad305d6ed76bf37a4baf09110fa (diff) | |
download | upstream-3d275a8debea2d31b40e17bc3ba93bf676802dbc.tar.gz upstream-3d275a8debea2d31b40e17bc3ba93bf676802dbc.tar.bz2 upstream-3d275a8debea2d31b40e17bc3ba93bf676802dbc.zip |
base-files: move uci_apply_defaults() to /etc/init.d/boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40408
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-x | package/base-files/files/lib/functions.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index fa4c2d670c..cec78c5062 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -368,17 +368,6 @@ jffs2_mark_erase() { echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1" } -uci_apply_defaults() { - cd /etc/uci-defaults || return 0 - files="$(ls)" - [ -z "$files" ] && return 0 - mkdir -p /tmp/.uci - for file in $files; do - ( . "./$(basename $file)" ) && rm -f "$file" - done - uci commit -} - group_add() { local name="$1" local gid="$2" |