-if [ "x$restart" = "xyes" -a -x /etc/init.d/amavisd-cn ]; then
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d --quiet amavisd-cn restart
- else
- /etc/init.d/amavisd-cn restart
- fi
-elif [ "x$restart" = "xyes" -a -x /etc/init.d/amavis ]; then
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d --quiet amavis restart
- else
- /etc/init.d/amavis restart
- fi