aboutsummaryrefslogtreecommitdiffstats
path: root/init/rcS-emergency.conf
diff options
context:
space:
mode:
Diffstat (limited to 'init/rcS-emergency.conf')
-rw-r--r--init/rcS-emergency.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/init/rcS-emergency.conf b/init/rcS-emergency.conf
new file mode 100644
index 00000000..f37c6231
--- /dev/null
+++ b/init/rcS-emergency.conf
@@ -0,0 +1,14 @@
+# rcS-emergency - SysVinit emergency compatibility
+#
+# This task is run before rc.sysinit if emergency is passed to kernel
+
+console owner
+
+task
+
+script
+ . /etc/sysconfig/init
+ plymouth --hide-splash || true
+ [ -z "$EMERGENCY" ] && EMERGENCY=/sbin/sulogin
+ exec $EMERGENCY
+end script