create the dhcp leasefile if it doesn't exist

SVN-Revision: 10460
This commit is contained in:
Travis Kemen 2008-02-14 21:17:14 +00:00
parent 44f1ad22c8
commit cf1cf9a8fd
1 changed files with 3 additions and 0 deletions

View File

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