summaryrefslogtreecommitdiffstats
path: root/security/vpnc/files/vpnc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/vpnc/files/vpnc.sh')
-rw-r--r--security/vpnc/files/vpnc.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/vpnc/files/vpnc.sh b/security/vpnc/files/vpnc.sh
new file mode 100644
index 0000000..54ff1ee
--- /dev/null
+++ b/security/vpnc/files/vpnc.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ [ -x /usr/local/sbin/vnpc ] && /usr/local/sbin/vnpc --pid-file /var/run/vpnc.pid > /dev/null && echo -n ' apache'
+ ;;
+stop)
+ #
+ kill
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
OpenPOWER on IntegriCloud