blob: 0ade24db26b1508710650f2f817cbbfef15441ff (
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
# PROVIDE: slim
# REQUIRE: LOGIN
#
# Add the following lines to /etc/rc.conf to enable slim:
# slim_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable slim
#
# Alternatively, edit /etc/ttys and change the line below
# ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# to this:
# ttyv8 "/usr/local/bin/slim" xterm on secure
. %%RC_SUBR%%
name="slim"
rcvar=`set_rcvar`
load_rc_config $name
: ${slim_enable="NO"}
command=%%PREFIX%%/bin/slim
command_args="-d"
pidfile=/var/run/slim.pid
run_rc_command "$1"
|