Changeset 20220


Ignore:
Timestamp:
2010-03-14T22:33:02+01:00 (8 years ago)
Author:
thepeople
Message:

if readethers is set to true make sure /etc/ethers exists, closes #6740

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/files/dnsmasq.init

    r20079 r20220  
    9191        config_get DOMAIN "$cfg" domain 
    9292 
     93        config_get_bool readethers "$cfg" readethers 
     94        [ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers 
     95 
    9396        config_get leasefile $cfg leasefile 
    9497        [ -e "$leasefile" ] || touch "$leasefile" 
Note: See TracChangeset for help on using the changeset viewer.