PKG_NAME:=dnsmasq
PKG_VERSION:=2.55
PKG_NAME:=dnsmasq
PKG_VERSION:=2.55
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
local option="$2"
local value="$3"
local _loctmp
local option="$2"
local value="$3"
local _loctmp
- config_get_bool _loctmp "$section" "$option"
- [ "$_loctmp" -gt 0 ] && append args "$value"
+ config_get_bool _loctmp "$section" "$option" 0
+ [ $_loctmp -gt 0 ] && append args "$value"
#check for an already active dhcp server on the interface, unless 'force' is set
config_get_bool force "$cfg" force 0
#check for an already active dhcp server on the interface, unless 'force' is set
config_get_bool force "$cfg" force 0
- [ "$force" -gt 0 ] || {
udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && return 0
}
udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && return 0
}