summaryrefslogtreecommitdiff
path: root/gui-libs/display-manager-init/files/display-manager-setup.initd
blob: a897bf990af82d3d09722ce09b71a7f2fcb38f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

depend() {
	need localmount
}

start() {
	if get_bootparam "nogui" || get_bootparam "nox"; then
		touch /run/.nogui
	fi
}