summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-05 16:04:23 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-05 16:04:23 +0000
commitaa44be4505a2a98c53833914dc95a470a0505b20 (patch)
tree6cf1592b9934654ae843a65fc381c7d42f493735 /package/base-files/files/etc
parent6255930f93fb646e71046b7ceca18a8a6c8bc544 (diff)
[package] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 250bfe040..43837a80f 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 3b8043209..3ec9bfef6 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 6c6e3b1fe..0fdfa8cf8 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