Commit 8c8e9bec authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4250 Enabling firewall does not link plugin.

parent 31d46a24
......@@ -38,7 +38,7 @@ class firewall_plugin {
public function onInstall() {
global $conf;
if($conf['bastille']['installed'] == true && $conf['services']['firewall'] == true) {
if(($conf['bastille']['installed'] == true || $conf['ufw']['installed'] == true || $conf['firewall']['installed'] == true) && $conf['services']['firewall'] == true) {
return true;
} else {
return false;
......
Supports Markdown
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