CVS: crater/net/ntp/init.d ntpd,NONE,1.1

Moritz Heiber moe at lunar-linux.org
Sat Nov 1 18:11:06 GMT 2003


Update of /var/cvs/lunar/crater/net/ntp/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv6042/init.d

Added Files:
	ntpd 
Log Message:
Adding this ntp module for testing. It features a proper default install
with common, free strat2 timeservers and some logfile reorganisation
Note: You may add your favourite ntp server but be sure about their policy.
It should be "Open access" and nothing else like "Send email" or 
"Only 2 peers by host".


--- NEW FILE: ntpd ---
#!/bin/bash
#
# ntp
# chkconfig: 345 31 69
# description: NTP is used to synchronize computer clocks
#  on a connected network or via GPS/phone/etc.
# processname: ntpd
# config: /etc/config.d/ntp.conf

ARGS="-g"
[ -f "/etc/config.d/ntp.conf" ] && ARGS="$ARGS -c /etc/config.d/ntp.conf"

reload () {
	# ntp is not reload-safe
	$0 restart
}

. /lib/lsb/init-functions





More information about the Lunar-commits mailing list