summaryrefslogtreecommitdiff
path: root/pcr/openrc-desktop/xdm-setup.initd-1
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-desktop/xdm-setup.initd-1')
-rw-r--r--pcr/openrc-desktop/xdm-setup.initd-114
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/openrc-desktop/xdm-setup.initd-1 b/pcr/openrc-desktop/xdm-setup.initd-1
new file mode 100644
index 000000000..365664e66
--- /dev/null
+++ b/pcr/openrc-desktop/xdm-setup.initd-1
@@ -0,0 +1,14 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/files/xdm-setup.initd-1,v 1.1 2010/04/13 10:07:39 scarabeus Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ if get_bootparam "nox" ; then
+ touch /etc/.noxdm
+ fi
+}