Line 0
Link Here
|
|
|
1 |
#!/bin/sh |
2 |
|
3 |
# $FreeBSD$ |
4 |
# |
5 |
# PROVIDE: kpropd |
6 |
# REQUIRE: LOGIN |
7 |
# KEYWORD: shutdown |
8 |
# |
9 |
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf |
10 |
# to enable this service: |
11 |
# |
12 |
# kpropd_enable (bool): Set to NO by default. |
13 |
# Set it to YES to enable kpropd. |
14 |
# kpropd_flags (str): Set to "" by default. |
15 |
|
16 |
. /etc/rc.subr |
17 |
|
18 |
name=kpropd |
19 |
rcvar=kpropd_enable |
20 |
|
21 |
load_rc_config $name |
22 |
|
23 |
: ${kpropd_enable:="NO"} |
24 |
: ${kpropd_flags=""} |
25 |
|
26 |
command=%%PREFIX%%/sbin/${name} |
27 |
|
28 |
run_rc_command "$1" |