Changeset 2904


Ignore:
Timestamp:
2006-01-11T05:26:46+01:00 (12 years ago)
Author:
nbd
Message:

set dhcp lease file in dnsmasq.conf instead of /tmp/dhcp.leases

Location:
trunk/openwrt/package/dnsmasq/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/dnsmasq/files/S50dnsmasq

    r2151 r2904  
    2626  [ -z "$wanproto" -o "$wanproto" = "none" ] || wanif=$(nvram get wan_ifname) 
    2727   
    28   args="-l /tmp/dhcp.leases -K -F $(int2ip $start),$(int2ip $end),$(int2ip $netmask),12h ${wanif:+-I ${wanif} }" 
     28  args="-K -F $(int2ip $start),$(int2ip $end),$(int2ip $netmask),12h ${wanif:+-I ${wanif} }" 
    2929} 
    3030dnsmasq ${args} 
  • trunk/openwrt/package/dnsmasq/files/dnsmasq.conf

    r2808 r2904  
    1313dhcp-authoritative 
    1414#dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h 
    15 #dhcp-leasefile=/tmp/dhcp.leases 
     15dhcp-leasefile=/tmp/dhcp.leases 
    1616 
    1717# use /etc/ethers for static hosts; same format as --dhcp-host 
Note: See TracChangeset for help on using the changeset viewer.