diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
commit | 5939313f229e6fcf374fb7e9ee4f8675b05ab293 (patch) | |
tree | 0a8181cbc5d052ab4d26a8e1d2dc52f126063fc6 /net-firewall/sanewall/files/sanewall.initd | |
parent | 7e3d6dcede5749fe6a1adef4e673a9dde7703b7b (diff) |
gentoo auto-resync : 02:02:2024 - 17:45:32
Diffstat (limited to 'net-firewall/sanewall/files/sanewall.initd')
-rw-r--r-- | net-firewall/sanewall/files/sanewall.initd | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/net-firewall/sanewall/files/sanewall.initd b/net-firewall/sanewall/files/sanewall.initd deleted file mode 100644 index c13d2df106ad..000000000000 --- a/net-firewall/sanewall/files/sanewall.initd +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_commands="save panic try" -extra_started_commands="reload" - -depend() { - need localmount - after bootmisc - before net - provide firewall -} - -start_pre() { - if [ ! -f ${SANEWALL_CONFIG} ]; then - eerror "Not starting sanewall, missing config file ${SANEWALL_CONFIG}." - return 1 - fi -} - -start() { - ebegin "Starting sanewall" - /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} start >/dev/null - eend $? -} - -stop() { - ebegin "Stopping sanewall" - /usr/sbin/sanewall ${SANEWALL_OPTS} stop >/dev/null - eend $? -} - -try() { - ebegin "Trying sanewall configuration" - /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} try - eend $? -} - -status() { - ebegin "Showing sanewall status" - /usr/sbin/sanewall ${SANEWALL_OPTS} status - eend $? -} - -panic() { - ebegin "sanewall panic" - /usr/sbin/sanewall ${SANEWALL_OPTS} panic - eend $? -} - -save() { - ebegin "Saving sanewall configuration" - /usr/sbin/sanewall ${SANEWALL_OPTS} save - eend $? -} |