aboutsummaryrefslogtreecommitdiff
path: root/net/lanbrowsing/files/lisa.in
blob: b0a39dccc01d237fd3d2755256620c627eebd1e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: lisa
# REQUIRE: LOGIN

# Add the following lines to /etc/rc.conf to enable lisa:
#
# lisa_enable="YES"
#

. /etc/rc.subr

name="lisa"
rcvar=lisa_enable

command="%%PREFIX%%/bin/lisa"

load_rc_config $name

: ${lisa_enable="NO"}
: ${lisa_conffile="%%PREFIX%%/etc/lisarc"}

command_args="-q -c ${lisa_conffile}"
required_files="${lisa_conffile}"

run_rc_command "$1"