diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:47 +0000 |
commit | 8ce376a52465de104db6e629ede05d859d1bf1df (patch) | |
tree | 9ac3f53bf816c4cb89e66aa8e57a8ae92f716333 /package/base-files/files/etc/init.d/boot | |
parent | 79be8946a780f1c3fb40bdc0959c75709d33b9b9 (diff) | |
download | master-187ad058-8ce376a52465de104db6e629ede05d859d1bf1df.tar.gz master-187ad058-8ce376a52465de104db6e629ede05d859d1bf1df.tar.bz2 master-187ad058-8ce376a52465de104db6e629ede05d859d1bf1df.zip |
/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index b44c1a69fe..d210fdcbaa 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -5,6 +5,8 @@ START=10 STOP=98 uci_apply_defaults() { + . /lib/functions/system.sh + cd /etc/uci-defaults || return 0 files="$(ls)" [ -z "$files" ] && return 0 |