diff options
Diffstat (limited to 'package/base-files/default/etc')
-rwxr-xr-x | package/base-files/default/etc/functions.sh | 2 | ||||
-rw-r--r-- | package/base-files/default/etc/hotplug.d/net/10-net | 2 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/S40network | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/default/etc/functions.sh b/package/base-files/default/etc/functions.sh index 27b0a6d5f..ce22ed151 100755 --- a/package/base-files/default/etc/functions.sh +++ b/package/base-files/default/etc/functions.sh @@ -93,7 +93,7 @@ load_modules() { } include() { - for file in $(ls /lib/$1/*.sh 2>/dev/null); do + for file in $(ls $1/*.sh 2>/dev/null); do . $file done } diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net index b5140758a..0a24b052f 100644 --- a/package/base-files/default/etc/hotplug.d/net/10-net +++ b/package/base-files/default/etc/hotplug.d/net/10-net @@ -1,6 +1,6 @@ # Copyright (C) 2006 OpenWrt.org -include network +include /lib/network addif() { scan_interfaces diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network index ec290335d..f2c3e2285 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/S40network @@ -4,6 +4,6 @@ setup_switch() { return 0; } . /etc/functions.sh -include network +include /lib/network setup_switch /sbin/wifi |