summaryrefslogtreecommitdiff
path: root/nonsystemd/openrc-desktop/xdm-setup.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/openrc-desktop/xdm-setup.initd')
-rw-r--r--nonsystemd/openrc-desktop/xdm-setup.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/nonsystemd/openrc-desktop/xdm-setup.initd b/nonsystemd/openrc-desktop/xdm-setup.initd
new file mode 100644
index 000000000..05f41a90a
--- /dev/null
+++ b/nonsystemd/openrc-desktop/xdm-setup.initd
@@ -0,0 +1,13 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need localmount
+}
+
+start() {
+ if get_bootparam "nox" ; then
+ touch /etc/.noxdm
+ fi
+}