aboutsummaryrefslogtreecommitdiffstats
path: root/init/rcS-sulogin.conf
diff options
context:
space:
mode:
Diffstat (limited to 'init/rcS-sulogin.conf')
-rw-r--r--init/rcS-sulogin.conf23
1 files changed, 0 insertions, 23 deletions
diff --git a/init/rcS-sulogin.conf b/init/rcS-sulogin.conf
deleted file mode 100644
index 818518de..00000000
--- a/init/rcS-sulogin.conf
+++ /dev/null
@@ -1,23 +0,0 @@
-# rcS-sulogin - "single-user" runlevel compatibility
-#
-# This task runs /bin/bash during "single-user" mode,
-# then continues to the default runlevel.
-
-start on runlevel S
-
-stop on runlevel [!S]
-
-console owner
-script
- . /etc/sysconfig/init
- plymouth --hide-splash || true
- [ -z "$SINGLE" ] && SINGLE=/sbin/sushell
- exec $SINGLE
-end script
-post-stop script
- if [ "$RUNLEVEL" = "S" ]; then
- [ -f /etc/inittab ] && runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab)
- [ -z "$runlevel" ] && runlevel="3"
- exec telinit $runlevel
- fi
-end script