aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
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/sbin
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/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/hotplug-call2
-rwxr-xr-xpackage/base-files/files/sbin/led.sh2
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade4
-rwxr-xr-xpackage/base-files/files/sbin/wifi2
4 files changed, 5 insertions, 5 deletions
diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call
index 0d96e80aaf..d627becc69 100755
--- a/package/base-files/files/sbin/hotplug-call
+++ b/package/base-files/files/sbin/hotplug-call
@@ -3,7 +3,7 @@
export HOTPLUG_TYPE="$1"
-. /etc/functions.sh
+. /lib/functions.sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
LOGNAME=root
diff --git a/package/base-files/files/sbin/led.sh b/package/base-files/files/sbin/led.sh
index 44629d9903..d67a0f51cc 100755
--- a/package/base-files/files/sbin/led.sh
+++ b/package/base-files/files/sbin/led.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# (C) 2008 openwrt.org
-. /etc/functions.sh
+. /lib/functions.sh
ACTION=$1
NAME=$2
do_led() {
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index be11c5bf3f..3868dc456e 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -1,5 +1,5 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
# initialize defaults
RAMFS_COPY_BIN="" # extra programs for temporary ramfs root
@@ -169,7 +169,7 @@ kill_remaining KILL
if [ -n "$(rootfs_type)" ]; then
v "Switching to ramdisk..."
- run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
+ run_ramfs '. /lib/functions.sh; include /lib/upgrade; do_upgrade'
else
do_upgrade
fi
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 5cbf50b5f5..8528efeed6 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
-. /etc/functions.sh
+. /lib/functions.sh
usage() {
cat <<EOF