Compare commits
No commits in common. "v963" and "v961" have entirely different histories.
@ -1,11 +0,0 @@
|
||||
description "clamav mail virus scanner for sendmail startup"
|
||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||
version 1.0
|
||||
emits none special
|
||||
|
||||
start on (runlevel [2345] and (started clamd))
|
||||
stop on stopping clamd
|
||||
|
||||
console output
|
||||
|
||||
exec /usr/sbin/clamav-milter
|
@ -1,11 +0,0 @@
|
||||
description "clamav virus scanner deamon startup"
|
||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||
version 1.0
|
||||
emits none special
|
||||
|
||||
start on (runlevel [2345] and (started ifup))
|
||||
stop on runlevel [016]
|
||||
|
||||
console output
|
||||
|
||||
exec /usr/sbin/clamd
|
32
init/genpkg
32
init/genpkg
@ -1,20 +1,18 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
if [ -d /var/install/sysvinit* ]; then
|
||||
WDIR=`pwd`
|
||||
cd etc/init.d
|
||||
chmod 755 clamav
|
||||
mkdir rc{0,1,2,3,4,5,6}.d
|
||||
for i in 0 1 2 6; do
|
||||
cd rc$i.d
|
||||
ln -s ../clamav K41clamav
|
||||
cd ..
|
||||
done
|
||||
for i in 3 4 5; do
|
||||
cd rc$i.d
|
||||
ln -s ../clamav S59clamav
|
||||
cd ..
|
||||
done
|
||||
cd $WDIR
|
||||
fi
|
||||
WDIR=`pwd`
|
||||
cd etc/init.d
|
||||
chmod 755 clamav
|
||||
mkdir rc{0,1,2,3,4,5,6}.d
|
||||
for i in 0 1 2 6; do
|
||||
cd rc$i.d
|
||||
ln -s ../clamav K41clamav
|
||||
cd ..
|
||||
done
|
||||
for i in 3 4 5; do
|
||||
cd rc$i.d
|
||||
ln -s ../clamav S59clamav
|
||||
cd ..
|
||||
done
|
||||
cd $WDIR
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if getent passwd clamav >/dev/null; then
|
||||
userdel clamav
|
||||
fi
|
||||
if getent group clamav >/dev/null; then
|
||||
groupdel clamav
|
||||
fi
|
Loading…
Reference in New Issue
Block a user