Prune net/irrd
[dports.git] / net / dante / files / sockd.in
1 #!/bin/sh
2 #
3 # $FreeBSD: head/net/dante/files/sockd.in 340872 2014-01-24 00:14:07Z mat $
4 #
5
6 # PROVIDE: sockd
7 # REQUIRE: NETWORKING
8 # KEYWORD: shutdown
9
10 #
11 # Add the following lines to /etc/rc.conf to enable sockd:
12 #
13 #sockd_enable="YES"
14 #
15
16 . /etc/rc.subr
17
18 name=sockd
19 rcvar=sockd_enable
20
21 command=%%PREFIX%%/sbin/sockd
22 pidfile=/var/run/sockd.pid
23 required_files=%%PREFIX%%/etc/sockd.conf
24
25 sockd_enable=${sockd_enable:-"NO"}
26 sockd_flags=${sockd_flags:-"-D"}
27
28 load_rc_config $name
29 run_rc_command "$1"