diff options
-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. |