X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/512afda668386575e4d146d22161ca3afa3af728..fe2a9e51270f724b1353cdbc00bb1f6699e1ca32:/obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network?ds=sidebyside diff --git a/obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network b/obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network index 5a6ca725b..a8144a837 100755 --- a/obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network +++ b/obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network @@ -7,9 +7,9 @@ case "$1" in ifup wifi wifi up - for route in $(nvram_get static_route); do { + for route in $(nvram get static_route); do { eval "set $(echo $route | sed 's/:/ /g')" - route add -net $1 netmask $2 gw $3 metric $4 dev $5 + $DEBUG route add -net $1 netmask $2 gw $3 metric $4 dev $5 } done ;; esac