git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4852 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
 }
 
 include() {
-       for file in $(ls /lib/$1/*.sh 2>/dev/null); do
+       for file in $(ls $1/*.sh 2>/dev/null); do
                . $file
        done
 }
 
 # Copyright (C) 2006 OpenWrt.org
 
-include network
+include /lib/network
 
 addif() {
        scan_interfaces
 
 setup_switch() { return 0; }
 
 . /etc/functions.sh
-include network
+include /lib/network
 setup_switch
 /sbin/wifi
 
 
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
-include network
+include /lib/network
 scan_interfaces
 
 cfg=$1
 
 }
 
 config_load wireless
-include wifi
+include /lib/wifi
 
 for device in $DEVICES; do (
        config_get iftype "$device" type
 
 #!/bin/sh
 [ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1
 . /etc/functions.sh
-include network
+include /lib/network
 
 RESOLV_CONF="/tmp/resolv.conf"