summaryrefslogtreecommitdiffstats
path: root/source/a/sysvinit-scripts/scripts/rc.4
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.4')
-rw-r--r--source/a/sysvinit-scripts/scripts/rc.47
1 files changed, 7 insertions, 0 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.4 b/source/a/sysvinit-scripts/scripts/rc.4
index 3c65040da..76278410a 100644
--- a/source/a/sysvinit-scripts/scripts/rc.4
+++ b/source/a/sysvinit-scripts/scripts/rc.4
@@ -12,6 +12,13 @@
# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."
+# If you'd like to start something different or in a different order than
+# the options below, create your own startup script /etc/rc.d/rc.4.local
+# and make it executable and it will be used instead:
+if [ -x /etc/rc.d/rc.4.local ]; then
+ exec /bin/bash /etc/rc.d/rc.4.local
+fi
+
# Try to use GNOME's gdm session manager. This comes first because if
# gdm is on the machine then the user probably installed it and wants
# to use it by default: