diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network')
-rwxr-xr-x | obsolete-buildroot/sources/openwrt/root/etc/init.d/S40network | 4 |
1 files changed, 2 insertions, 2 deletions
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 |