summaryrefslogtreecommitdiffstats
path: root/net/ptpd/files/ptpd.in
blob: 5cb1cbacb7fc09376d5e40d499afee55b3e2a487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ptpd
# REQUIRE: NETWORKING DAEMON
# KEYWORD: nojail
#
# Add the following lines to /etc/rc.conf to enable ptpd
#
# ptpd_enable (bool):	Set to "NO" by default
#			Set it to "YES" to enable ptpd

. /etc/rc.subr

name="ptpd"
rcvar=`set_rcvar`

command="%%PREFIX%%/sbin/${name}"

ptpd_enable=${ptpd_enable:-"NO"}

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud