projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log rcS output
[openwrt.git]
/
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
996366e
..
cc94a79
100755
(executable)
--- 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>
#!/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
[ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1
@@
-13,8
+13,8
@@
case "$1" in
renew|bound)
ifconfig $interface $ip \
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"
if [ -n "$router" ] ; then
echo "deleting routers"
This page took
0.026009 seconds
and
4
git commands to generate.