NetBSD/etc/rc.d/ntpd

19 lines
276 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: ntpd,v 1.3 2000/09/19 13:04:39 lukem Exp $
#
# PROVIDE: ntpd
# REQUIRE: DAEMON
. /etc/rc.subr
name="ntpd"
rcvar=$name
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/ntp.conf"
load_rc_config $name
run_rc_command "$1"