initng/system/mountroot.i
glen
cvs at pld-linux.org
Fri Jan 13 10:00:49 CET 2006
Author: glen
Date: Fri Jan 13 10:00:46 2006
New Revision: 6801
Modified:
initng/system/mountroot.i
Log:
- $DELAY_LOGIN disabled.
unusable in initng for two reasons:
1. allowlogin might never executed due failed deps
2. if you're using initng, you want to login asap
Modified: initng/system/mountroot.i
==============================================================================
--- initng/system/mountroot.i (original)
+++ initng/system/mountroot.i Fri Jan 13 10:00:46 2006
@@ -153,14 +153,15 @@
# Remove /etc/nologin when starting system
[ -f /etc/nologin.boot ] && rm -f /etc/nologin /etc/nologin.boot
- if is_yes "$DELAY_LOGIN" && [ ! -f /etc/nologin ]; then
- show "Enabling Delay Login"; busy
- echo > /etc/nologin
- nls "System bootup in progress - please wait" >> /etc/nologin
- echo >> /etc/nologin
- chmod 644 /etc/nologin
- cp -fp /etc/nologin /etc/nologin.boot
- ok
- fi
+# $DELAY_LOGIN not handled. defeats the purpose of initng
+# if is_yes "$DELAY_LOGIN" && [ ! -f /etc/nologin ]; then
+# show "Enabling Delay Login"; busy
+# echo > /etc/nologin
+# nls "System bootup in progress - please wait" >> /etc/nologin
+# echo >> /etc/nologin
+# chmod 644 /etc/nologin
+# cp -fp /etc/nologin /etc/nologin.boot
+# ok
+# fi
}
}
More information about the pld-cvs-commit
mailing list