Explicitly set /bin/ashlogin +x during boot
authorAndrew Gaffney <agaffney@gentoo.org>
Tue, 16 Dec 2008 18:43:06 +0000 (12:43 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Tue, 16 Dec 2008 18:43:06 +0000 (12:43 -0600)
ChangeLog
netboot/linuxrc.x

index 74eaa2061001bc206ffd7615fbc13df50477bef7..c566c02832ca2c2be4bd679b9fc8022c9b48b8f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
+  Explicitly set /bin/ashlogin +x during boot
+
   16 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
   Run getty for tty1 in the foreground
 
index 3ac84986e0d142f9b50ecd9208dde8cd8e018da2..b90fd257cdddd2e8c01bec5e6941d3c107e69daf 100755 (executable)
@@ -109,6 +109,7 @@ StartUp() {
 
                #// Misc tasks
                chmod +x /bin/net-setup
+               chmod +x /bin/ashlogin
        fi
 }
 
@@ -307,11 +308,11 @@ LaunchShell() {
 #      /bin/ash
 
        for i in 2 3 4; do
-               getty -n -l /bin/ashlogin tty${i} linux &
+               getty -n -l /bin/ashlogin tty${i} &
        done
 
        # Run this one in the foreground, so that our pid 1 doesn't exit
-       getty -n -l /bin/ashlogin tty1 linux
+       getty -n -l /bin/ashlogin tty1
 }
 
 #//--------------------------------------------------------------------------------