aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-05 16:04:23 +0000
commit9ae901445be2f33658142e401556818edbafaaf7 (patch)
treed8595eead1ed3c62440f17d6398343a1029a5be6 /package/base-files/files/etc
parent9a61b249c5a355ce95747200302e353a0d30bea0 (diff)
downloadupstream-9ae901445be2f33658142e401556818edbafaaf7.tar.gz
upstream-9ae901445be2f33658142e401556818edbafaaf7.tar.bz2
upstream-9ae901445be2f33658142e401556818edbafaaf7.zip
/etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
-rwxr-xr-xpackage/base-files/files/etc/init.d/rcS2
-rwxr-xr-xpackage/base-files/files/etc/preinit2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 250bfe0401..43837a80f2 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -48,7 +48,7 @@ system_config() {
}
apply_uci_config() {
- sh -c '. /etc/functions.sh; include /lib/config; uci_apply_defaults'
+ sh -c '. /lib/functions.sh; include /lib/config; uci_apply_defaults'
}
start() {
diff --git a/package/base-files/files/etc/init.d/rcS b/package/base-files/files/etc/init.d/rcS
index 3b80432096..3ec9bfef6e 100755
--- a/package/base-files/files/etc/init.d/rcS
+++ b/package/base-files/files/etc/init.d/rcS
@@ -14,7 +14,7 @@ system_config() {
LOGGER="cat"
[ -x /usr/bin/logger ] && LOGGER="logger -s -p 6 -t sysinit"
-. /etc/functions.sh
+. /lib/functions.sh
config_load system
config_foreach system_config system
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index 6c6e3b1fe1..0fdfa8cf88 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -21,7 +21,7 @@ pi_init_suppress_stderr="y"
pi_init_path="/bin:/sbin:/usr/bin:/usr/sbin"
pi_init_cmd="/sbin/init"
-. /etc/functions.sh
+. /lib/functions.sh
. /lib/functions/boot.sh
boot_hook_init preinit_essential