#! /bin/sh
# send notification after hostname is changed

for i in slpd ; do
	[ -f /etc/init.d/$i ] && (/etc/init.d/$i reload >/dev/null 2>&1)
done

# update /etc/hosts
/usr/bin/update_hosts.sh

exit 0
