diff options
author | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-04 12:41:18 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-04 12:41:18 -0300 |
commit | 10011be8706083f4a1bdc5fb7af398a2bad0c56a (patch) | |
tree | 0fd6195b7d7b891d80f5cceab468a71f72c69c19 /pcr | |
parent | 6891221b766af2e552e7ee041c9fbd1f4835d90c (diff) | |
parent | d6995faecd53c94adc22ed81d2691ee11588752b (diff) | |
download | abslibre-10011be8706083f4a1bdc5fb7af398a2bad0c56a.tar.gz abslibre-10011be8706083f4a1bdc5fb7af398a2bad0c56a.tar.bz2 abslibre-10011be8706083f4a1bdc5fb7af398a2bad0c56a.zip |
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'pcr')
-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 - |