diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 1998-04-24 15:37:46 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 1998-04-24 15:37:46 +0000 |
commit | 2f713d6dab4cd9cda521332933c8ef3a37f78b16 (patch) | |
tree | dcf4db29a8613c26b4aa2adf8de38699abed9c76 /rc.d/rc | |
parent | 1e24754dfeca89eb7dd82adc487f362cd722c3ec (diff) | |
download | initscripts-2f713d6dab4cd9cda521332933c8ef3a37f78b16.tar initscripts-2f713d6dab4cd9cda521332933c8ef3a37f78b16.tar.gz initscripts-2f713d6dab4cd9cda521332933c8ef3a37f78b16.tar.bz2 initscripts-2f713d6dab4cd9cda521332933c8ef3a37f78b16.tar.xz initscripts-2f713d6dab4cd9cda521332933c8ef3a37f78b16.zip |
info for linuxconf
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,9 @@ export runlevel previous # Get first argument. Set new runlevel to this argument. [ "$1" != "" ] && runlevel="$argv1" +# Tell linuxconf what runlevel we are in +[ -d /var/run ] && echo "/etc/rc.d/rc$runlevel.d" > /var/run/runlevel.dir + # Is there an rc directory for this new runlevel? if [ -d /etc/rc.d/rc$runlevel.d ]; then # First, run the KILL scripts. |