aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dspam/pkg/020.clamav-freshclam.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dspam/pkg/020.clamav-freshclam.sh')
-rw-r--r--packages/dspam/pkg/020.clamav-freshclam.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/packages/dspam/pkg/020.clamav-freshclam.sh b/packages/dspam/pkg/020.clamav-freshclam.sh
deleted file mode 100644
index 4332d757..00000000
--- a/packages/dspam/pkg/020.clamav-freshclam.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-# This file was automatically generated
-# by the pfSense service handler
-
-rc_start() {
- /sbin/mount_fdescfs fdescfs /dev/fd
- /usr/local/bin/freshclam --daemon
-}
-
-rc_stop() {
- /usr/bin/killall freshclam
- sleep 2
-}
-
-rc_restart() {
- rc_stop
- rc_start
-}
-
-case $1 in
- start)
- rc_start
- ;;
- stop)
- rc_stop
- ;;
- restart)
- rc_restart
- ;;
- *)
- echo "Usage: $0 <start|stop|restart>"
- ;;
-esac