aboutsummaryrefslogtreecommitdiffstats
path: root/extra/clamsmtp/clamsmtp.post-upgrade
blob: c418ff809fa5b71cea1f254da3e9bcef234ed4a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

moved=
for i in /etc/runlevels/*/clamsmtp; do
	if [ -L $i ]; then
		mv ${i} ${i}d
		moved=1
	fi
done

if [ -n "$moved" ]; then
	echo " *"
	echo " * NOTICE: /etc/init.d/clamsmtp is renamed to /etc/init.d/clamsmtpd"
	echo " *"
fi