create the dhcp leasefile if it doesn't exist

SVN-Revision: 10460
master
Travis Kemen 17 years ago
parent 44f1ad22c8
commit cf1cf9a8fd
  1. 3
      package/dnsmasq/files/dnsmasq.init

@ -63,6 +63,9 @@ dnsmasq() {
append_parm "$cfg" "local" "-S" append_parm "$cfg" "local" "-S"
append_parm "$cfg" "leasefile" "-l" append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r" append_parm "$cfg" "resolvfile" "-r"
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"
} }
dhcp_subscrid_add() { dhcp_subscrid_add() {

Loading…
Cancel
Save