blob: 18e2c645a17d8bf502402b052652d11e3227bb27 (
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
# PROVIDE: tpm2_abrmd
# REQUIRE: DAEMON %%DBUS_DAEMON%%
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# tpm2_abrmd_enable="YES"
#
. /etc/rc.subr
name=tpm2_abrmd
desc=TPM2 Access Broker & Resource Management Daemon
rcvar=tpm2_abrmd_enable
load_rc_config ${name}
: ${tpm2_abrmd_enable:=NO}
command=%%PREFIX%%/sbin/tpm2-abrmd
tpm2_abrmd_user=_tss
run_rc_command "$1"
|