diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-09-24 13:32:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-09-24 13:32:18 +0000 |
commit | 57c6e6b156f6e37071ca2e0c06d5794ed032d1cc (patch) | |
tree | 9b739c6907465a7b5413e56f44266afa6bf2a771 /package/base-files/default/sbin | |
parent | 732e5d38374397673c861f49a1222280bcd1617a (diff) | |
download | upstream-57c6e6b156f6e37071ca2e0c06d5794ed032d1cc.tar.gz upstream-57c6e6b156f6e37071ca2e0c06d5794ed032d1cc.tar.bz2 upstream-57c6e6b156f6e37071ca2e0c06d5794ed032d1cc.zip |
use absolute paths in include() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4852 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/sbin')
-rwxr-xr-x | package/base-files/default/sbin/ifdown | 2 | ||||
-rwxr-xr-x | package/base-files/default/sbin/wifi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/default/sbin/ifdown b/package/base-files/default/sbin/ifdown index 1334ee8218..073e80d2da 100755 --- a/package/base-files/default/sbin/ifdown +++ b/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/package/base-files/default/sbin/wifi b/package/base-files/default/sbin/wifi index b228eed8a0..4a3ec8cfef 100755 --- a/package/base-files/default/sbin/wifi +++ b/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 |