milis/talimatname/genel/clamav/clamav.kur-kos

12 lines
303 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
if [ -z `getent group clamav` ]; then
groupadd -r clamav
fi
if [ -z `getent passwd clamav` ]; then
useradd -r -g clamav -d /etc/clamav -s /bin/false -c "ClamAV" clamav
fi
name=clamav
chown -R $name:$name $PKG/var/run/$name $PKG/var/log/$name
install -o clamav -g clamav -m 0775 -d /usr/share/clamav