create the dhcp leasefile if it doesn't exist
SVN-Revision: 10460
This commit is contained in:
parent
44f1ad22c8
commit
cf1cf9a8fd
1 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue