From c9247c8074e1325ca3b45836f850966478713602 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Fri, 1 Feb 2013 18:46:31 +0200 Subject: [PATCH] Remove Arch Linux init file Arch Linux only supports systemd now. Signed-off-by: Evangelos Foutras Signed-off-by: Tom Eastep --- Shorewall-lite/init.archlinux.sh | 58 ------------------------------ Shorewall/init.archlinux.sh | 60 ------------------------------- Shorewall6-lite/init.archlinux.sh | 58 ------------------------------ Shorewall6/init.archlinux.sh | 60 ------------------------------- 4 files changed, 236 deletions(-) delete mode 100755 Shorewall-lite/init.archlinux.sh delete mode 100755 Shorewall/init.archlinux.sh delete mode 100755 Shorewall6-lite/init.archlinux.sh delete mode 100755 Shorewall6/init.archlinux.sh diff --git a/Shorewall-lite/init.archlinux.sh b/Shorewall-lite/init.archlinux.sh deleted file mode 100755 index 8fcb9e292..000000000 --- a/Shorewall-lite/init.archlinux.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -OPTIONS="-f" - -if [ -f /etc/sysconfig/shorewall ] ; then - . /etc/sysconfig/shorewall -elif [ -f /etc/default/shorewall ] ; then - . /etc/default/shorewall -fi - -# if you want to override options, do so in /etc/sysconfig/shorewall or -# in /etc/default/shorewall -- -# i strongly encourage you use the latter, since /etc/sysconfig/ does not exist. - -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON_NAME="shorewall" # of course shorewall is NOT a deamon. - -case "$1" in - start) - stat_busy "Starting $DAEMON_NAME" - /sbin/shorewall-lite $OPTIONS start &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $DAEMON_NAME - stat_done - fi - ;; - - - stop) - stat_busy "Stopping $DAEMON_NAME" - /sbin/shorewall-lite stop &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon $DAEMON_NAME - stat_done - fi - ;; - - restart|reload) - stat_busy "Restarting $DAEMON_NAME" - /sbin/shorewall-lite restart &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - diff --git a/Shorewall/init.archlinux.sh b/Shorewall/init.archlinux.sh deleted file mode 100755 index 8f2f81edb..000000000 --- a/Shorewall/init.archlinux.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -OPTIONS="-f" - -if [ -f /etc/sysconfig/shorewall ] ; then - . /etc/sysconfig/shorewall -elif [ -f /etc/default/shorewall ] ; then - . /etc/default/shorewall -fi - -# if you want to override options, do so in /etc/sysconfig/shorewall or -# in /etc/default/shorewall -- -# i strongly encourage you use the latter, since /etc/sysconfig/ does not exist. - -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON_NAME="shorewall" # of course shorewall is NOT a deamon. - -export SHOREWALL_INIT_SCRIPT=1 - -case "$1" in - start) - stat_busy "Starting $DAEMON_NAME" - /sbin/shorewall $OPTIONS start &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $DAEMON_NAME - stat_done - fi - ;; - - - stop) - stat_busy "Stopping $DAEMON_NAME" - /sbin/shorewall stop &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon $DAEMON_NAME - stat_done - fi - ;; - - restart|reload) - stat_busy "Restarting $DAEMON_NAME" - /sbin/shorewall restart &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - diff --git a/Shorewall6-lite/init.archlinux.sh b/Shorewall6-lite/init.archlinux.sh deleted file mode 100755 index d75f14472..000000000 --- a/Shorewall6-lite/init.archlinux.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -OPTIONS="" - -if [ -f /etc/sysconfig/shorewall6 ] ; then - . /etc/sysconfig/shorewall6 -elif [ -f /etc/default/shorewall6 ] ; then - . /etc/default/shorewall6 -fi - -# if you want to override options, do so in /etc/sysconfig/shorewall6 or -# in /etc/default/shorewall6 -- -# i strongly encourage you use the latter, since /etc/sysconfig/ does not exist. - -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON_NAME="shorewall6" # of course shorewall6 is NOT a deamon. - -case "$1" in - start) - stat_busy "Starting $DAEMON_NAME" - /sbin/shorewall6-lite $OPTIONS start &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $DAEMON_NAME - stat_done - fi - ;; - - - stop) - stat_busy "Stopping $DAEMON_NAME" - /sbin/shorewall6-lite stop &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon $DAEMON_NAME - stat_done - fi - ;; - - restart|reload) - stat_busy "Restarting $DAEMON_NAME" - /sbin/shorewall6-lite restart &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - diff --git a/Shorewall6/init.archlinux.sh b/Shorewall6/init.archlinux.sh deleted file mode 100755 index 6d0b36c31..000000000 --- a/Shorewall6/init.archlinux.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -OPTIONS="-f" - -if [ -f /etc/sysconfig/shorewall6 ] ; then - . /etc/sysconfig/shorewall6 -elif [ -f /etc/default/shorewall6 ] ; then - . /etc/default/shorewall6 -fi - -# if you want to override options, do so in /etc/sysconfig/shorewall6 or -# in /etc/default/shorewall6 -- -# i strongly encourage you use the latter, since /etc/sysconfig/ does not exist. - -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON_NAME="shorewall6" # of course shorewall6 is NOT a deamon. - -export SHOREWALL_INIT_SCRIPT=1 - -case "$1" in - start) - stat_busy "Starting $DAEMON_NAME" - /sbin/shorewall6 $OPTIONS start &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $DAEMON_NAME - stat_done - fi - ;; - - - stop) - stat_busy "Stopping $DAEMON_NAME" - /sbin/shorewall6 stop &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon $DAEMON_NAME - stat_done - fi - ;; - - restart|reload) - stat_busy "Restarting $DAEMON_NAME" - /sbin/shorewall6 restart &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 -