This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/ntp/fs/etc/rc.d/ntpd

17 lines
256 B
Plaintext
Raw Normal View History

2013-07-13 17:19:22 +01:00
# Configuration parameters
# cfg_ntpd_config: NTP Daemon configuration file.
start()
{
if [ -z "$cfg_ntpd_config" ]; then
cfg_ntpd_config="/etc/ntp/default.cfg"
fi
/usr/bin/ntpd -g -c "$cfg_ntpd_config"
}
stop()
{
killall ntpd
}