mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
DHCP: Restart server in background
This allows for the CGI to return quicker. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1335,7 +1335,7 @@ sub buildconf {
|
||||
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';}
|
||||
system '/usr/local/bin/dhcpctrl restart >/dev/null 2>&1';
|
||||
system '/usr/local/bin/dhcpctrl restart >/dev/null 2>&1 &';
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user