summaryrefslogtreecommitdiff
path: root/net/openntpd/files/openntpd.sh
blob: b847329b260b6874490eae226beef7c95c653c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: openntpd.sh,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
#

# PROVIDE: openntpd
# REQUIRE: DAEMON
# BEFORE:  LOGIN

. /etc/rc.subr

name="ntpd"
rcvar="openntpd"
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/ntpd.conf"

load_rc_config $name
run_rc_command "$1"