Author: alexander
Date: 2005-06-01 04:03:40 -0600 (Wed, 01 Jun 2005)
New Revision: 215

Added:
   trunk/scripts/livecd-login
Modified:
   trunk/Makefile
   trunk/etc/inittab
   trunk/etc/issue
Log:
Removed login prompt.


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2005-06-01 09:30:04 UTC (rev 214)
+++ trunk/Makefile      2005-06-01 10:03:40 UTC (rev 215)
@@ -1440,7 +1440,7 @@
        @install -m600 root/.bashrc $(MP)/root/.bashrc
        @install -m644 etc/X11/app-defaults/XTerm 
$(MP)/etc/X11/app-defaults/XTerm
        @install -m644 etc/X11/twm/system.twmrc $(MP)/etc/X11/twm/system.twmrc
-       @install -m755 scripts/{net-setup,greeting,ll} $(MP)/usr/bin/
+       @install -m755 scripts/{net-setup,greeting,livecd-login,ll} 
$(MP)/usr/bin/
        @cp -ra root $(MP)/etc/skel
        @-mv $(MP)/bin/uname.real $(MP)/bin/uname
        @-mkdir $(MP)/iso

Modified: trunk/etc/inittab
===================================================================
--- trunk/etc/inittab   2005-06-01 09:30:04 UTC (rev 214)
+++ trunk/etc/inittab   2005-06-01 10:03:40 UTC (rev 215)
@@ -16,11 +16,11 @@
 
 su:S016:once:/sbin/sulogin
 
-1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
-2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
-3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
-4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
-5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
-6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
+1:2345:respawn:/usr/bin/openvt -f -c 1 -e -w -- /usr/bin/livecd-login
+2:2345:respawn:/usr/bin/openvt -f -c 2 -e -w -- /usr/bin/livecd-login
+3:2345:respawn:/usr/bin/openvt -f -c 3 -e -w -- /usr/bin/livecd-login
+4:2345:respawn:/usr/bin/openvt -f -c 4 -e -w -- /usr/bin/livecd-login
+5:2345:respawn:/usr/bin/openvt -f -c 5 -e -w -- /usr/bin/livecd-login
+6:2345:respawn:/usr/bin/openvt -f -c 6 -e -w -- /usr/bin/livecd-login
 
 # End /etc/inittab

Modified: trunk/etc/issue
===================================================================
--- trunk/etc/issue     2005-06-01 09:30:04 UTC (rev 214)
+++ trunk/etc/issue     2005-06-01 10:03:40 UTC (rev 215)
@@ -8,8 +8,6 @@
 Version:
 ____________________________________________________________
 
-To begin, login as root. (There is no password.)
-
 All the source packages you will need to build an LFS system
 are located in /sources and you can find the book in
 /usr/share/LFS-BOOK-6.1-HTML.

Added: trunk/scripts/livecd-login
===================================================================
--- trunk/scripts/livecd-login  2005-06-01 09:30:04 UTC (rev 214)
+++ trunk/scripts/livecd-login  2005-06-01 10:03:40 UTC (rev 215)
@@ -0,0 +1,8 @@
+#!/bin/sh
+stty sane
+echo -en '\033(K'
+cat /etc/issue
+echo -en 'Press Enter to activate this virtual console...'
+read ENTER
+echo
+exec /bin/login -f root


Property changes on: trunk/scripts/livecd-login
___________________________________________________________________
Name: svn:executable
   + *

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to