1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh /etc/rc.common START='25' STOP='75' start() { log 'Starting NTP daemon' start-stop-daemon -S -q -x /usr/sbin/ntpd -- \ -p 0.pool.ntp.org \ -p 1.pool.ntp.org \ -p 2.pool.ntp.org \ -p 3.pool.ntp.org } stop() { log 'Stopping NTP daemon' start-stop-daemon -K -q -x /usr/sbin/ntpd }