diff options
author | stormtracknole <stormtracknole@gmail.com> | 2020-03-20 19:11:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-20 19:11:39 +0700 |
commit | 4de5fb1d7a3290fb6a04369e993e9e500d48bb5e (patch) | |
tree | f98555f42e4cf005cc3b966ebb6efe6668a7c366 /network/firewalld/README.SLACKWARE | |
parent | 431e5229c4beec6bd98e135d446bc5bab5b376e4 (diff) |
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.SLACKWARE | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/network/firewalld/README.SLACKWARE b/network/firewalld/README.SLACKWARE new file mode 100644 index 0000000000000..a5a7404a61532 --- /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 |