Author: baggins
Date: Wed Oct 19 13:23:49 2005
New Revision: 6464

Modified:
   rc-scripts/branches/vserver/rc.d/rc
Log:
- better safe than sorry, check prevlevel against known-expected value


Modified: rc-scripts/branches/vserver/rc.d/rc
==============================================================================
--- rc-scripts/branches/vserver/rc.d/rc (original)
+++ rc-scripts/branches/vserver/rc.d/rc Wed Oct 19 13:23:49 2005
@@ -64,7 +64,7 @@
 
 # if runlevel is not 0 (halt) or 6 (reboot) run rc.sysinit
 # BUT only if rc is run standalone (not run by init, as init will run 
rc.sysinit)
-if [ "$previous" = "#" -a "$runlevel" != "0" -a "$runlevel" != "6" ]; then
+if [ "$previous" != "N" -a "$runlevel" != "0" -a "$runlevel" != "6" ]; then
     /etc/rc.d/rc.sysinit $runlevel
 fi
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to