diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-20 01:52:32 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-20 01:52:32 +0000 |
commit | 79e92078323a468e3e8d5a2c7c7481d9b7a91d97 (patch) | |
tree | fd38181a25b1e22a65409bb8cb60eef3913e7c34 /target/default/target_skeleton/usr/share/udhcpc/default.script | |
parent | 8f69e37a934992d4ee185241d10211c0d04e4b9d (diff) |
minor fs changes & cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton/usr/share/udhcpc/default.script')
-rwxr-xr-x | target/default/target_skeleton/usr/share/udhcpc/default.script | 6 |
1 files changed, 3 insertions, 3 deletions
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 <Tim@Rikers.org> -# (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" |