summaryrefslogtreecommitdiff
path: root/package/netifd
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/netifd
parent9a61b249c5a355ce95747200302e353a0d30bea0 (diff)
downloadmtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.zip
mtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.tar.gz
mtk-20170518-9ae901445be2f33658142e401556818edbafaaf7.tar.bz2
/etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
Diffstat (limited to 'package/netifd')
-rwxr-xr-xpackage/netifd/files/lib/netifd/dhcp.script2
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/dhcp.sh2
-rwxr-xr-xpackage/netifd/files/sbin/ifup2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/netifd/files/lib/netifd/dhcp.script b/package/netifd/files/lib/netifd/dhcp.script
index d13ce7e..0097a96 100755
--- a/package/netifd/files/lib/netifd/dhcp.script
+++ b/package/netifd/files/lib/netifd/dhcp.script
@@ -1,7 +1,7 @@
#!/bin/sh
[ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1
-. /etc/functions.sh
+. /lib/functions.sh
. /lib/netifd/netifd-proto.sh
set_classless_routes() {
diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 4bdb3a7..1080dbf 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup
index e17b67d..0d2a3ca 100755
--- a/package/netifd/files/sbin/ifup
+++ b/package/netifd/files/sbin/ifup
@@ -51,7 +51,7 @@ else
fi
if [ -n "$setup_wifi" ] && grep -q config /etc/config/wireless; then
- . /etc/functions.sh
+ . /lib/functions.sh
find_related_radios() {
local wdev wnet