aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-07 10:29:47 +0000
commit4a9ea80ef06472204b66ab037179455a47a98c9e (patch)
treebb2c6f63cce25b73251af6e825c7550ae5dfa90a /package/base-files/files/etc/init.d/boot
parente700dcaf0493e0ea159594ba8b7b70ab1242ee18 (diff)
downloadupstream-4a9ea80ef06472204b66ab037179455a47a98c9e.tar.gz
upstream-4a9ea80ef06472204b66ab037179455a47a98c9e.tar.bz2
upstream-4a9ea80ef06472204b66ab037179455a47a98c9e.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> SVN-Revision: 40411
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
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