projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a033a9
)
fix small error in the dnsmasq init script
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 21 Mar 2006 16:22:41 +0000
(16:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 21 Mar 2006 16:22:41 +0000
(16:22 +0000)
SVN-Revision: 3435
openwrt/package/dnsmasq/files/S50dnsmasq
patch
|
blob
|
history
diff --git
a/openwrt/package/dnsmasq/files/S50dnsmasq
b/openwrt/package/dnsmasq/files/S50dnsmasq
index a3f707d37b6d1ab877f1ef22f5221cd2fe577185..fbb75c52e88824df9f27dcf33824bdef1ccd6edc 100755
(executable)
--- a/
openwrt/package/dnsmasq/files/S50dnsmasq
+++ b/
openwrt/package/dnsmasq/files/S50dnsmasq
@@
-7,12
+7,12
@@
# DHCP interface (lan, wan, wifi -- any ifup *)
iface=lan
+ifname=$(nvram get ${iface}_ifname)
udhcpc -n -q -R -s /bin/true -i $ifname >&- || {
# no existing DHCP server?
# calculate settings
- ifname=$(nvram get ${iface}_ifname)
ipaddr=$(nvram get ${iface}_ipaddr)
netmask=$(nvram get ${iface}_netmask)
start=$(nvram get dhcp_start)