diff options
| author | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
|---|---|---|
| committer | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
| commit | 01fecfecdb440d81435690c63d28909c5edd34de (patch) | |
| tree | 0700ba7f0da1a17e974ad77826f8011b7e77443f /event.d/rcS-sulogin | |
| parent | 51f5d4923f3ab0025708df3d20efd45fe5437e92 (diff) | |
| download | initscripts-master.tar.gz initscripts-master.tar.xz initscripts-master.zip | |
New job definitions, in a new location, in a new format
Diffstat (limited to 'event.d/rcS-sulogin')
| -rw-r--r-- | event.d/rcS-sulogin | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/event.d/rcS-sulogin b/event.d/rcS-sulogin deleted file mode 100644 index 59a0b4d3..00000000 --- a/event.d/rcS-sulogin +++ /dev/null @@ -1,21 +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 - exec /bin/bash -end script -post-stop script - if [ "$1" = "S" ]; then - runlevel=$(/bin/awk -F ':' '$3 == "initdefault" { print $2 }' /etc/inittab) - [ -z "$runlevel" ] && runlevel="3" - exec telinit $runlevel - fi -end script |
