1 AVIR_PATH=/usr/lib/AntiVir
4 groupadd antivir &> /dev/null
5 chown -R root:antivir $AVIR_PATH &> /dev/null
6 [ -d "$AVIR_PATH/gui" ] && \
7 chmod 4710 $AVIR_PATH/gui/bin/antivir_start.real &> /dev/null
9 echo -e "\n -----------------------------------------------------------------"
11 echo " The license is located here: /usr/share/licenses/antivir/LICENSE"
12 echo " If you do not accept its terms, remove this package immediately."
13 echo -e " -----------------------------------------------------------------\n"
14 echo " CONFIGURATION:"
15 echo " 1. Join the 'antivir' group:"
16 echo " # gpasswd -a USERNAME antivir"
17 echo " 2. Register AntiVir with RSBAC's Dazuko interface:"
19 echo " $ attr_set_file_dir FD $AVIR_PATH/antivir daz_scanner 1"
20 echo " 3. Add the updater and AvGuard daemons:"
21 echo -e " place 'avupd' and 'avgrd' in the /etc/rc.conf DAEMONS array\n"
23 echo " - CLI manual vdf update............... antivir --update"
24 echo " - CLI basic system scan............... antivir --allfiles -s -z /"
25 echo " - CLI detailed usage.................. antivir --help"
26 [ -f "$AVIR_PATH/antivir-gui" ] && \
27 echo " - GUI Java front-end.................. antivir-gui"
28 echo -e " - Full documentation.................. /usr/share/doc/antivir\n"
36 [ -f "$AVIR_PATH/avupdater" ] && $AVIR_PATH/avudater stop &> /dev/null
37 [ -f "$AVIR_PATH/avguard" ] && $AVIR_PATH/avguard stop &> /dev/null
38 killall antivir &> /dev/null
44 groupdel antivir &> /dev/null