summaryrefslogtreecommitdiffstats
path: root/libs/seatd/files/seatd.init
blob: 34da6f9a7345b2f2ebf4af97d451f5eb9d2216a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh /etc/rc.common

START=90
STOP=10

USE_PROCD=1
PROG=/usr/bin/seatd

start_service() {
	procd_open_instance
	[ ! -e /dev/tty0 ] && procd_append_param env SEATD_VTBOUND=0
	procd_set_param command "$PROG" -g video
	procd_close_instance
}