summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Freed <dwfreed@mtu.edu>2015-01-13 15:20:05 -0800
committerDoug Freed <dwfreed@mtu.edu>2015-01-16 12:37:06 -0800
commitcc1d16c46c4ff0261f8be499769f49a3527a03c6 (patch)
tree0aa2143e6c62e51d130ae78b041d660ef6132c66
parentSpeed up testing for e* commands. (diff)
downloadnetifrc-cc1d16c46c4ff0261f8be499769f49a3527a03c6.tar.gz
netifrc-cc1d16c46c4ff0261f8be499769f49a3527a03c6.tar.bz2
netifrc-cc1d16c46c4ff0261f8be499769f49a3527a03c6.zip
firewalld: remove use of OpenRC need function
You can't use OpenRC's dependency functions in module depend functions, because they aren't called in the OpenRC init script's depend function. System administrators are responsible for ensuring that the dependencies for their configuration are set correctly via (for OpenRC) /etc/conf.d/net.
-rw-r--r--net/firewalld.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/firewalld.sh b/net/firewalld.sh
index ae83c57..b20f571 100644
--- a/net/firewalld.sh
+++ b/net/firewalld.sh
@@ -6,7 +6,6 @@ firewalld_depend()
after interface
before dhcp
program firewall-cmd
- [ "$IFACE" != "lo" ] && need firewalld
}
_config_vars="$_config_vars firewalld_zone"