summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/sbin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-24 13:32:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-24 13:32:18 +0000
commitda625de806a3e4a4a4986caedf8fbd2c4d3f1e75 (patch)
treeb17cf5de9ee6069544fcc3e86874e1518d983445 /openwrt/package/base-files/default/sbin
parent643cdb2818568429c07c79a445527eaee673130a (diff)
downloadmtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.zip
mtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.tar.gz
mtk-20170518-da625de806a3e4a4a4986caedf8fbd2c4d3f1e75.tar.bz2
use absolute paths in include() shell function
SVN-Revision: 4852
Diffstat (limited to 'openwrt/package/base-files/default/sbin')
-rwxr-xr-xopenwrt/package/base-files/default/sbin/ifdown2
-rwxr-xr-xopenwrt/package/base-files/default/sbin/wifi2
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/base-files/default/sbin/ifdown b/openwrt/package/base-files/default/sbin/ifdown
index 1334ee8..073e80d 100755
--- a/openwrt/package/base-files/default/sbin/ifdown
+++ b/openwrt/package/base-files/default/sbin/ifdown
@@ -3,7 +3,7 @@
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
-include network
+include /lib/network
scan_interfaces
cfg=$1
diff --git a/openwrt/package/base-files/default/sbin/wifi b/openwrt/package/base-files/default/sbin/wifi
index b228eed..4a3ec8c 100755
--- a/openwrt/package/base-files/default/sbin/wifi
+++ b/openwrt/package/base-files/default/sbin/wifi
@@ -30,7 +30,7 @@ config_cb() {
}
config_load wireless
-include wifi
+include /lib/wifi
for device in $DEVICES; do (
config_get iftype "$device" type