1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net/openntpd/files/openntpd.sh

24 lines
324 B
Bash
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: openntpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD 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"