Rework xinitrc handling: modularize the code into ~/.xinitrc.d/ and support configura...
[grml-etc.git] / etc / skel / .xinitrc.d / grml_info
diff --git a/etc/skel/.xinitrc.d/grml_info b/etc/skel/.xinitrc.d/grml_info
new file mode 100755 (executable)
index 0000000..7ce9983
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Filename:      ~/.xinitrc.d/grml_info
+# Purpose:       start Grml's information screen
+# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
+# Bug-Reports:   see http://grml.org/bugs/
+# License:       This file is licensed under the GPL v2 or any later version.
+################################################################################
+
+if [ "$XINIT_GRML_INFO" = "false" ] ; then
+  exit 0
+fi
+
+[ -r /etc/grml_cd ] && grml-info &
+
+## END OF FILE #################################################################