summaryrefslogtreecommitdiffstats
path: root/network/firewalld/README.SLACKWARE
diff options
context:
space:
mode:
author stormtracknole2020-03-20 13:11:39 +0100
committer Willy Sudiarto Raharjo2020-03-20 13:11:39 +0100
commit4de5fb1d7a3290fb6a04369e993e9e500d48bb5e (patch)
treef98555f42e4cf005cc3b966ebb6efe6668a7c366 /network/firewalld/README.SLACKWARE
parent431e5229c4beec6bd98e135d446bc5bab5b376e4 (diff)
downloadslackbuilds-4de5fb1d7a3290fb6a04369e993e9e500d48bb5e.tar.gz
network/firewalld: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/firewalld/README.SLACKWARE')
-rw-r--r--network/firewalld/README.SLACKWARE20
1 files changed, 20 insertions, 0 deletions
diff --git a/network/firewalld/README.SLACKWARE b/network/firewalld/README.SLACKWARE
new file mode 100644
index 0000000000..a5a7404a61
--- /dev/null
+++ b/network/firewalld/README.SLACKWARE
@@ -0,0 +1,20 @@
+The package provided by the upstream project already includes
+/etc/init.d/firewalld which will get executed on boot by
+/etc/rc.d/rc.sysvinit. So technically, you don't have to
+use the custom rc.firewalld. I have provided a patch that
+changes /etc/sysconfig/ to /etc/default in order to source
+any custom arguments.
+
+Otherwise, feel free to chmod -x /etc/init.d/firewalld
+and chmod +x /etc/rc.d/rc.firewalld then add it to your
+/etc/rc.d/rc.local like so:
+
+if [ -x /etc/rc.d/rc.firewalld ]; then
+ /etc/rc.d/rc.firewalld start
+fi
+
+and the following to /etc/rc.d/rc.local_shutdown:
+
+if [ -x /etc/rc.d/rc.firewalld ]; then
+ /etc/rc.d/rc.firewalld stop
+fi