5 test -f /usr/bin/ntpd || exit 0
9 echo -n "Starting NTP server: ntpd"
10 start-stop-daemon --start --quiet --exec /usr/bin/ntpd
14 echo -n "Stopping NTP server: ntpd"
15 start-stop-daemon --stop --quiet --exec /usr/bin/ntpd
19 echo -n "Restarting NTP server: ntpd... "
20 start-stop-daemon --stop --quiet --exec /usr/bin/ntpd
22 start-stop-daemon --start --quiet --exec /usr/bin/ntpd
26 echo "Usage: /etc/init.d/ntp {start|stop|restart|force-reload}"