mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
dhcp: Oops, this version of dhcpd is very strict.
This commit is contained in:
@@ -1199,7 +1199,7 @@ sub buildconf {
|
||||
$key++;
|
||||
}
|
||||
}
|
||||
print FILE "include ${General::swroot}/dhcp/dhcpd.conf.local\n";
|
||||
print FILE "include \"${General::swroot}/dhcp/dhcpd.conf.local\";\n";
|
||||
close FILE;
|
||||
if ( $dhcpsettings{"ENABLE_GREEN"} eq 'on' || $dhcpsettings{"ENABLE_BLUE"} eq 'on' ) {system '/usr/local/bin/dhcpctrl enable >/dev/null 2>&1';}
|
||||
else {system '/usr/local/bin/dhcpctrl disable >/dev/null 2>&1';}
|
||||
|
||||
Reference in New Issue
Block a user