X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/519d691022ec31e72cdd90f7987674d93065dccc..19a1490f400695cadb7b94fe70cde19d6c45bc8f:/target/default/target_skeleton/usr/share/udhcpc/default.script diff --git a/target/default/target_skeleton/usr/share/udhcpc/default.script b/target/default/target_skeleton/usr/share/udhcpc/default.script index 996366ea1..cc94a7927 100755 --- a/target/default/target_skeleton/usr/share/udhcpc/default.script +++ b/target/default/target_skeleton/usr/share/udhcpc/default.script @@ -1,6 +1,6 @@ #!/bin/sh # udhcpc script edited by Tim Riker -# (slightly modified) +# (slightly modified for openwrt) [ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1 @@ -13,8 +13,8 @@ case "$1" in renew|bound) ifconfig $interface $ip \ - netmask ${subnet:-255.255.255.0} \ - broadcast ${broadcast:-+} + netmask ${subnet:-255.255.255.0} \ + broadcast ${broadcast:-+} if [ -n "$router" ] ; then echo "deleting routers"