aboutsummaryrefslogblamecommitdiffstats
path: root/main/clamsmtp/clamsmtp.post-upgrade
blob: 2dbccbb22aa49402f8e49c05ed15df74c7bc4642 (plain) (tree)
1
2
3
4
5
6
7




                                      

                                                 









                                                                                  
#!/bin/sh

moved=
for i in /etc/runlevels/*/clamsmtp; do
	if [ -L $i ]; then
		rm $i
		ln -s /etc/init.d/clamsmtpd ${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