summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-06-04 16:39:35 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-06-04 16:39:35 +0200
commitd6995faecd53c94adc22ed81d2691ee11588752b (patch)
tree56f8221458738320c62a3a7f02f82d8264d31835
parentca058a137606b97b1ca20c1ba44cbf2d60124e1b (diff)
downloadabslibre-d6995faecd53c94adc22ed81d2691ee11588752b.tar.gz
abslibre-d6995faecd53c94adc22ed81d2691ee11588752b.tar.bz2
abslibre-d6995faecd53c94adc22ed81d2691ee11588752b.zip
strongswan: remove an outdated and unused file.
-rw-r--r--pcr/strongswan/strongswan.rc43
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
-