PATH=/usr/bin:/local/usr/bin:/usr/local/bin:/usr/sbin:/sbin export PATH ETCDIR=${PKG_INSTALL_ROOT}/etc # check, whether a user smmsp exists egrep -s '^clamav:' ${ETCDIR}/passwd 2>/dev/null if [ $? -ne 0 ]; then echo " WARNING: This package requires a user named 'clamav' in the group 'daemon'! This user is not part of your ${ETCDIR}/passwd ! Please setup such an account! E.g.: useradd -c 'Clam AntiVirus' -d /var/share/clamav -u 89 -g daemon clamav " exit 3 fi exit 0