mirror of
https://github.com/MailScanner/v5.git
synced 2025-02-24 23:44:33 +08:00
17 lines
No EOL
274 B
Bash
17 lines
No EOL
274 B
Bash
#!/bin/sh
|
|
# postrm script for mailscanner
|
|
#
|
|
set -e
|
|
|
|
# unregister the old startup script
|
|
update-rc.d -f mailscanner remove
|
|
|
|
if [ -L '/etc/init.d/mailscanner' ]; then
|
|
rm -f /etc/init.d/mailscanner
|
|
fi
|
|
|
|
if [ -f '/etc/init.d/ms' ]; then
|
|
rm -f /etc/init.d/mailscanner
|
|
fi
|
|
|
|
exit 0 |