mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
hosts.cgi: Use new system methods
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -487,6 +487,6 @@ sub SortDataFile
|
||||
# Build the configuration file
|
||||
#
|
||||
sub BuildConfiguration {
|
||||
system '/usr/local/bin/rebuildhosts';
|
||||
system '/usr/local/bin/unboundctrl reload &>/dev/null';
|
||||
&General::system('/usr/local/bin/rebuildhosts');
|
||||
&General::system('/usr/local/bin/unboundctrl', 'reload');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user