freebsd-ports/devel/pcsc-lite/files/pcscd.in

22 lines
309 B
Bash

#!/bin/sh
# PROVIDE: pcscd
# REQUIRE: LOGIN
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# pcscd_enable="YES"
. /etc/rc.subr
name="pcscd"
rcvar=pcscd_enable
command="%%PREFIX%%/sbin/pcscd"
load_rc_config "$name"
: ${pcscd_enable="NO"}
run_rc_command "$1"