diff options
author | taca <taca@pkgsrc.org> | 2009-09-22 17:38:33 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-09-22 17:38:33 +0000 |
commit | 03c1bbc9d7a4f3b7ebafcd785a2616d81a83d8a1 (patch) | |
tree | 22bed0aeba77d700809b75eaa8d716b812b3a278 /security/f-prot-antivirus6/files/fpmon.sh | |
parent | 2c15d725e4f0fb27131a7429fb7dfc5ed4c10af9 (diff) | |
download | pkgsrc-03c1bbc9d7a4f3b7ebafcd785a2616d81a83d8a1.tar.gz |
Importing common files for F-PROT Antivirus version 6.x.
F-PROT Antivirus is commercial product of FRISK Software International Inc.
Diffstat (limited to 'security/f-prot-antivirus6/files/fpmon.sh')
-rw-r--r-- | security/f-prot-antivirus6/files/fpmon.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/security/f-prot-antivirus6/files/fpmon.sh b/security/f-prot-antivirus6/files/fpmon.sh new file mode 100644 index 00000000000..ea82731b7a9 --- /dev/null +++ b/security/f-prot-antivirus6/files/fpmon.sh @@ -0,0 +1,24 @@ +#!@RCD_SCRIPTS_SHELL@ +# $NetBSD: fpmon.sh,v 1.1.1.1 2009/09/22 17:38:33 taca Exp $ + +# PROVIDE: fpmon +# REQUIRE: DAEMON fpscand + +. /etc/rc.subr + +name="fpmon" +rcvar=$name +conf="@PKG_SYSCONFDIR@/f-prot.conf" +command="@PREFIX@/@FPROTDIR@/fpmon" +required_files="${conf} ${command}" +start_cmd="fpmon_start" + +fpmon_start() +{ + if [ -x ${command} ]; then + ${command} ${rc_flags} + fi +} + +load_rc_config $name +run_rc_command "$1" |