summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/usr/share/udhcpc
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-20 01:52:32 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-20 01:52:32 +0000
commit43cf4ebc089c3afbfaec606b584599d0dca5bf8b (patch)
tree03334486734d8e520d643fe90881013a04e5e03d /openwrt/target/default/target_skeleton/usr/share/udhcpc
parentb28cd70077f8958ba005b8a6522963caaa8499f1 (diff)
minor fs changes & cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/usr/share/udhcpc')
-rwxr-xr-xopenwrt/target/default/target_skeleton/usr/share/udhcpc/default.script6
1 files changed, 3 insertions, 3 deletions
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 <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"