summaryrefslogtreecommitdiff
path: root/gui-apps/lemurs/files/lemurs.initd
blob: 2ae86ca795318990814ee6a0db79341bd68689ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/sbin/openrc-run

# This section is kindly copied from display-manager-init
depend() {
	need localmount

	after bootmisc consolefont modules netmount
	after readahead-list ypbind autofs openvpn gpm lircmd
	after quota keymaps
	after elogind
	after sssd
	before alsasound

	use dbus xfs
}

start() {
	tty=7
	start-stop-daemon --start --background \
	--exec "/usr/bin/openvt" -- --console ${tty} --switch -- /usr/bin/lemurs

	eend $?
}