aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-07-28 07:07:22 +0800
committerdougb <dougb@FreeBSD.org>2009-07-28 07:07:22 +0800
commitfe17b5bc2c5964b7a6c8f50960f85ead4559af1e (patch)
treeb286d8373069dc2a954022f708449a38b743c066 /security
parent048985c0277ee295ae1f48a5ec063e303bf8821f (diff)
downloadfreebsd-ports-gnome-fe17b5bc2c5964b7a6c8f50960f85ead4559af1e.tar.gz
freebsd-ports-gnome-fe17b5bc2c5964b7a6c8f50960f85ead4559af1e.tar.zst
freebsd-ports-gnome-fe17b5bc2c5964b7a6c8f50960f85ead4559af1e.zip
Somehow the script got duplicated within the same file.
Eliminate the duplicate.
Diffstat (limited to 'security')
-rw-r--r--security/swatch/files/swatch.in38
1 files changed, 0 insertions, 38 deletions
diff --git a/security/swatch/files/swatch.in b/security/swatch/files/swatch.in
index 140a8ed58564..b05aceb09a97 100644
--- a/security/swatch/files/swatch.in
+++ b/security/swatch/files/swatch.in
@@ -36,41 +36,3 @@ if [ -n "${swatch_rules}" ]; then
run_rc_command "$1"
done
fi
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: swatch
-# REQUIRE: DAEMON
-#
-# To enable multiple instance of swatch, add lines like below to
-# /etc/rc.conf.
-#
-# swatch_enable="YES"
-# swatch_rules="1 2 3"
-# swatch_1_flags="--config-file=/rc --tail-file=/log --daemon --pid-file=/pid"
-# swatch_1_user="nobody"
-# swatch_1_chdir="/var/tmp"
-# swatch_1_pidfile="/pid"
-# swatch_2_flags="blah, blah"
-# swatch_3_flags="blah, blah"
-
-. %%RC_SUBR%%
-
-name=swatch
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/bin/swatch
-procname=%%PREFIX%%/bin/perl
-
-load_rc_config ${name}
-
-if [ -n "${swatch_rules}" ]; then
- for i in ${swatch_rules}; do
- eval swatch_flags=\$swatch_${i}_flags
- eval swatch_user=\$swatch_${i}_user
- eval swatch_chdir=\$swatch_${i}_chdir
- eval pidfile=\$swatch_${i}_pidfile
- run_rc_command "$1"
- done
-fi