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/rules/ntp/fs/etc/rc.d/ntpd

17 lines
256 B
Plaintext

# 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
}