From 4a9ea80ef06472204b66ab037179455a47a98c9e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Apr 2014 10:29:47 +0000 Subject: /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh Signed-off-by: Felix Fietkau SVN-Revision: 40411 --- package/base-files/files/etc/init.d/boot | 2 ++ package/base-files/files/etc/preinit | 1 + 2 files changed, 3 insertions(+) (limited to 'package/base-files/files/etc') 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 diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index a8662eaf1d..9cc8a9a8f6 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -25,6 +25,7 @@ pi_init_cmd="/sbin/init" . /lib/functions.sh . /lib/functions/preinit.sh +. /lib/functions/system.sh boot_hook_init preinit_essential boot_hook_init preinit_main -- cgit v1.2.3