summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ntpd
blob: b09c4d1971bb0a8d1154cc1bfa0668e847890900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: ntpd,v 1.2 2000/05/13 08:45:07 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"
OpenPOWER on IntegriCloud