diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-06 21:36:45 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-06 21:36:45 -0600 |
commit | 8ec4b9333a52352dc0030f2368e851404fb14e65 (patch) | |
tree | 45c9f623ca59e6da9a7243c870b7693d6b50f667 /pcr/strongswan/strongswan.rc | |
parent | e1775e3c54b852a7d349b4a818794adb8f81487f (diff) | |
parent | fc7e49d04d3f1b8e84dbb6fb0cc76e417d362b4c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Conflicts:
libre/libretools/PKGBUILD
Diffstat (limited to 'pcr/strongswan/strongswan.rc')
-rw-r--r-- | pcr/strongswan/strongswan.rc | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pcr/strongswan/strongswan.rc b/pcr/strongswan/strongswan.rc deleted file mode 100644 index 58c99c092..000000000 --- a/pcr/strongswan/strongswan.rc +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting strongSwan IPsec" - /usr/sbin/ipsec start - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - add_daemon strongswan - fi - ;; - stop) - stat_busy "Stopping strongSwan IPsec" - /usr/sbin/ipsec stop - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - rm_daemon strongswan - fi - ;; - restart) - stat_busy "Restarting strongSwan IPsec" - /usr/sbin/ipsec restart - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - add_daemon strongswan - fi - ;; - status) - /usr/sbin/ipsec status - ;; - *) - echo "usage: $0 {start|stop|restart|status}" -esac - |