diff options
Diffstat (limited to 'pcr/openswan/openswan.rc.d')
-rwxr-xr-x | pcr/openswan/openswan.rc.d | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pcr/openswan/openswan.rc.d b/pcr/openswan/openswan.rc.d deleted file mode 100755 index 30bd0d56e..000000000 --- a/pcr/openswan/openswan.rc.d +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting Openswan IPsec" - /etc/rc.d/ipsec --start - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - add_daemon openswan - fi - ;; - stop) - stat_busy "Stopping Openswan IPsec" - /etc/rc.d/ipsec --stop - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - rm_daemon openswan - fi - ;; - restart) - stat_busy "Restarting Openswan IPsec" - /etc/rc.d/ipsec --restart - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - add_daemon openswan - fi - ;; - status) - /etc/rc.d/ipsec --status - ;; - *) - echo "usage: $0 {start|stop|restart|status}" -esac - |