if [ ! -f $ACONF -o ! -s $ACONF ]; then
# Create fresh config from template
conf_from_template
+ restart_daemon=1
fi
# disable SAVI as proven problematic
-if cp_check_and_sed "^\['Sophos SAVI'" \
- "s/^\(\['Sophos SAVI', ..sophos_savi \]\)/#\1/" $ACONF; then
+if cp_check_and_sed "^[[:blank:]]*\['Sophos SAVI'" \
+ "s/^[[:blank:]]*\(\['Sophos SAVI', ..sophos_savi \]\)/#\1/" $ACONF; then
cp_echo "CN: Disabled SAVI::Perl usage in ${ACONF}."
+ restart_daemon=1
fi
check_and_add_alias virusalert root