Author: glen
Date: Sun Oct 23 13:21:22 2011
New Revision: 12387

Modified:
   rc-scripts/trunk/init/rcS-sulogin.conf
Log:
respect RUN_SULOGIN_ON_ERR from /etc/sysconfig/system

Modified: rc-scripts/trunk/init/rcS-sulogin.conf
==============================================================================
--- rc-scripts/trunk/init/rcS-sulogin.conf      (original)
+++ rc-scripts/trunk/init/rcS-sulogin.conf      Sun Oct 23 13:21:22 2011
@@ -10,7 +10,12 @@
 
 console owner
 script
-       exec /bin/sh
+       . /etc/rc.d/init.d/functions
+       if ! is_no "$RUN_SULOGIN_ON_ERR"; then
+               exec /sbin/sulogin
+       else
+               exec /bin/sh
+       fi
 end script
 
 post-stop script
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to