X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e311d137d20284608d5900df62dc9935b591f126..8cd0206134327033b38ed5233bff27ba5cc47ce2:/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script diff --git a/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script b/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script index 996366ea1..cc94a7927 100755 --- a/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script +++ b/openwrt/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"