diff options
author | Bill Nottingham <notting@redhat.com> | 2008-04-25 14:13:35 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-04-25 14:13:35 -0400 |
commit | 1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89 (patch) | |
tree | fe1c8004f87b4cd4447892ec118e8a41969b3dd8 /event.d/rc-default | |
parent | ae9e1c75a5e24e4f2c9d60eb4b8838e0b043ec7d (diff) | |
download | initscripts-1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89.tar initscripts-1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89.tar.gz initscripts-1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89.tar.bz2 initscripts-1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89.tar.xz initscripts-1de0b38f2b65479c6a5a4bf67b67d995cd7c7a89.zip |
Import from event-compat-sysv-0.3.9-11.fc9
- Make ttys start after prefdm in runlevel 5
- Merge rc-default into rcS
- Remove reliance on /etc/inittab
Diffstat (limited to 'event.d/rc-default')
-rw-r--r-- | event.d/rc-default | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/event.d/rc-default b/event.d/rc-default deleted file mode 100644 index 9160062b..00000000 --- a/event.d/rc-default +++ /dev/null @@ -1,22 +0,0 @@ -# rc - runlevel compatibility -# -# This task guesses what the "default runlevel" should be and starts the -# appropriate script. - -start on stopped rcS - -script - runlevel --reboot || true - - RL="2" - if [ -r /etc/inittab ]; then - RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)" - fi - for t in $(cat /proc/cmdline); do - case $t in - -s|single|S) RL="S" ;; - [1-9]) RL="$t" ;; - esac - done - telinit $RL -end script |