aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/rcS-sulogin
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-12-03 14:29:21 -0500
committerBill Nottingham <notting@redhat.com>2009-12-03 14:29:21 -0500
commit79b2b232cb34f7df3e440968240975e44c4b8fc7 (patch)
tree96897ba99159dc82592baddddf3d68e7eafb64ce /event.d/rcS-sulogin
parenta0025d667ffc0ecd70c0da39a7a3fede56f71a2a (diff)
downloadinitscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.gz
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.bz2
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.tar.xz
initscripts-79b2b232cb34f7df3e440968240975e44c4b8fc7.zip
Move to new upstart job location and file extension.
Diffstat (limited to 'event.d/rcS-sulogin')
-rw-r--r--event.d/rcS-sulogin22
1 files changed, 0 insertions, 22 deletions
diff --git a/event.d/rcS-sulogin b/event.d/rcS-sulogin
deleted file mode 100644
index d3aa20d1..00000000
--- a/event.d/rcS-sulogin
+++ /dev/null
@@ -1,22 +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
-
-console owner
-script
- runlevel --set S >/dev/null || true
- plymouth --hide-splash || true
- exec /bin/bash
-end script
-post-stop script
- if [ "$1" = "S" ]; then
- runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab)
- [ -z "$runlevel" ] && runlevel="3"
- exec telinit $runlevel
- fi
-end script