Commit a57e0682 authored by tbrehm's avatar tbrehm
Browse files

Added force to rc update script for the bastille firewall when the firewall is...

Added force to rc update script for the bastille firewall when the firewall is deactivated or removed.
parent 334a9f66
......@@ -102,7 +102,7 @@ class firewall_plugin {
$app->log('Restarting the firewall',LOGLEVEL_DEBUG);
} else {
exec('/etc/init.d/bastille-firewall stop');
if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove');
if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove');
$app->log('Stopping the firewall',LOGLEVEL_DEBUG);
}
......@@ -113,7 +113,7 @@ class firewall_plugin {
global $app, $conf;
exec('/etc/init.d/bastille-firewall stop');
if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove');
if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove');
$app->log('Stopping the firewall',LOGLEVEL_DEBUG);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment