Changeset 22269


Ignore:
Timestamp:
2010-07-18T02:36:53+02:00 (7 years ago)
Author:
nico
Message:

[backfire] merge r22251

dnsmasq: initscript: fix bool options handling, bump release number

Location:
branches/backfire/package/dnsmasq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/dnsmasq/Makefile

    r22223 r22269  
    1010PKG_NAME:=dnsmasq 
    1111PKG_VERSION:=2.55 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • branches/backfire/package/dnsmasq/files/dnsmasq.init

    r22223 r22269  
    2424        local value="$3" 
    2525        local _loctmp 
    26         config_get_bool _loctmp "$section" "$option" 
    27         [ "$_loctmp" -gt 0 ] && append args "$value" 
     26        config_get_bool _loctmp "$section" "$option" 0 
     27        [ $_loctmp -gt 0 ] && append args "$value" 
    2828} 
    2929 
     
    275275        #check for an already active dhcp server on the interface, unless 'force' is set 
    276276        config_get_bool force "$cfg" force 0 
    277         [ "$force" -gt 0 ] || { 
     277        [ $force -gt 0 ] || { 
    278278                udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && return 0 
    279279        } 
Note: See TracChangeset for help on using the changeset viewer.