File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function update($event_name,$data) {
102102 $ app ->log ('Restarting the firewall ' ,LOGLEVEL_DEBUG );
103103 } else {
104104 exec ('/etc/init.d/bastille-firewall stop ' );
105- if (@is_file ('/etc/debian_version ' )) exec ('update-rc.d bastille-firewall remove ' );
105+ if (@is_file ('/etc/debian_version ' )) exec ('update-rc.d -f bastille-firewall remove ' );
106106 $ app ->log ('Stopping the firewall ' ,LOGLEVEL_DEBUG );
107107 }
108108
@@ -113,7 +113,7 @@ function delete($event_name,$data) {
113113 global $ app , $ conf ;
114114
115115 exec ('/etc/init.d/bastille-firewall stop ' );
116- if (@is_file ('/etc/debian_version ' )) exec ('update-rc.d bastille-firewall remove ' );
116+ if (@is_file ('/etc/debian_version ' )) exec ('update-rc.d -f bastille-firewall remove ' );
117117 $ app ->log ('Stopping the firewall ' ,LOGLEVEL_DEBUG );
118118
119119 }
You can’t perform that action at this time.
0 commit comments