summaryrefslogtreecommitdiff
path: root/net/openntpd/files/openntpd.sh
blob: 0563632209c797866b6cd939143fa1e230b299b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#
# $FreeBSD$
#

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

. %%RC_SUBR%%

name=openntpd
rcvar=`set_rcvar`

command=%%PREFIX%%/sbin/ntpd
required_files=%%PREFIX%%/etc/ntpd.conf

# set default
openntpd_enable=${openntpd_enable:-"NO"}

load_rc_config $name
run_rc_command "$1"