4 groupadd antivir &> /dev/null
5 chown -R root:antivir $avdir/agent $avdir/guard &> /dev/null
6 chmod 4750 $avdir/guard/gui/bin/antivir_start.real &> /dev/null
8 useradd -m -d /home/quarantine -g antivir -s /bin/bash antivir &> /dev/null
9 chmod -R 770 /home/quarantine &> /dev/null
11 echo -e "\n --- IMPORTANT ---"
12 echo " By using this software, you accept the Avira GmbH EULA:"
13 echo " /usr/share/licenses/antivir/LICENSE"
14 echo -e "\n --- CONFIG ---"
15 echo " Join the 'antivir' group and relog:"
16 echo " # gpasswd -a USERNAME antivir"
17 echo " Start the guard daemon:"
18 echo " # /etc/rc.d/antivird start"
19 echo " To automatically start it at boot time, edit rc.conf:"
20 echo " place 'antivird' in the DAEMONS array of /etc/rc.conf"
21 echo -e "\n --- USAGE ---"
22 echo " Update............... avupdate-guard -h"
23 echo " Scan................. avscan -h"
24 echo -e " Docs................. /usr/share/doc/antivir/\n"
32 etc/rc.d/antivird stop &> /dev/null
37 userdel -r antivir &> /dev/null
38 groupdel antivir &> /dev/null