NetBSD/etc/rc.d/ntpd

18 lines
259 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
2000-05-02 16:19:20 +04:00
# $NetBSD: ntpd,v 1.1 2000/05/02 12:19:20 simonb Exp $
2000-03-10 14:53:23 +03:00
#
2000-05-02 16:19:20 +04:00
# PROVIDE: ntpd
# REQUIRE: DAEMON
2000-03-10 14:53:23 +03:00
. /etc/rc.subr
. /etc/rc.conf
2000-05-02 16:19:20 +04:00
name="ntpd"
2000-03-10 14:53:23 +03:00
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/ntp.conf"
run_rc_command "$1"