diff options
Diffstat (limited to 'security/racoon/files/racoon.sh')
-rw-r--r-- | security/racoon/files/racoon.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/racoon/files/racoon.sh b/security/racoon/files/racoon.sh new file mode 100644 index 000000000000..d6a5c1b3098a --- /dev/null +++ b/security/racoon/files/racoon.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +case "$1" in + start) + if [ -x %PREFIX%/sbin/racoon ]; then + %PREFIX%/sbin/racoon -f %PREFIX%/etc/racoon/racoon.conf && echo -n ' racoon' + fi + ;; + + stop) + /usr/bin/killall racoon && echo -n ' racoon' + ;; + + *) + echo "Usage: `basename $0` { start | stop }" + exit 64 + ;; +esac |