aboutsummaryrefslogtreecommitdiffstats
path: root/config/archive/dspam/pkg/020.clamav-freshclam.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/archive/dspam/pkg/020.clamav-freshclam.sh')
-rw-r--r--config/archive/dspam/pkg/020.clamav-freshclam.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/config/archive/dspam/pkg/020.clamav-freshclam.sh b/config/archive/dspam/pkg/020.clamav-freshclam.sh
deleted file mode 100644
index 4332d757..00000000
--- a/config/archive/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