summaryrefslogtreecommitdiff
path: root/network/ferm/README.SLACKWARE
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2021-01-15 20:18:37 +0000
committerDave Woodfall <dave@slackbuilds.org>2021-01-15 20:18:37 +0000
commitf639f6e47f449bc15c2c07d65ef1956bc298c3e3 (patch)
tree6ee9dc4519f2069b79162c964e3d4460ef2f59ad /network/ferm/README.SLACKWARE
parent58e3d6196accb013df1f6cd9a8479b36a29e5f41 (diff)
downloadslackbuilds-f639f6e47f449bc15c2c07d65ef1956bc298c3e3.tar.gz
network/ferm: Updated for version 2.5.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'network/ferm/README.SLACKWARE')
-rw-r--r--network/ferm/README.SLACKWARE22
1 files changed, 22 insertions, 0 deletions
diff --git a/network/ferm/README.SLACKWARE b/network/ferm/README.SLACKWARE
new file mode 100644
index 0000000000..611596f48c
--- /dev/null
+++ b/network/ferm/README.SLACKWARE
@@ -0,0 +1,22 @@
+Ferm comes with a systemd unit file that can be used to run ferm on a predefined
+configuration file (/etc/ferm.conf) at boot to automatically setup the firewall.
+
+A simple rc.d script is being provided with this package that mimics what the
+unit file does. If you want to automatically run ferm at boot and stop it at
+shutdown, make sure you create the /etc/ferm.conf file and:
+
+chmod 0755 /etc/rc.d/rc.ferm
+cat >> /etc/rc.d/rc.local <<EOF
+if [ -x /etc/rc.d/rc.ferm ]
+then
+ /etc/rc.d/rc.ferm start
+fi
+
+EOF
+cat >> /etc/rc.d/rc.local_shutdown <<EOF
+if [ -x /etc/rc.d/rc.ferm ]
+then
+ /etc/rc.d/rc.ferm stop
+fi
+
+EOF