#! /bin/sh
#
# ntp - rerun ntp in response to interface change
#
# Jan Blunck <jblunck@suse.de>

case "$2" in
    up)
	if /sbin/chkconfig --check ntp; then
	    /etc/init.d/ntp start
	fi
	;;
    down)
	/etc/init.d/ntp stop
	;;
    *)
	exit 0
	;;
esac
