From 3d63778b11e67300b57fe8d96cd6ced742f983c6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 21 Mar 2006 16:22:41 +0000 Subject: [PATCH] fix small error in the dnsmasq init script SVN-Revision: 3435 --- openwrt/package/dnsmasq/files/S50dnsmasq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/dnsmasq/files/S50dnsmasq b/openwrt/package/dnsmasq/files/S50dnsmasq index a3f707d37b..fbb75c52e8 100755 --- 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) -- 2.30.2