summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2018-03-15 21:06:36 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2018-03-15 21:06:36 -0400
commit8153df03e15624ba4319d2fc9b1fd1fefb47cd86 (patch)
tree8deeb1d77dfb251bb66d899c26c87601afb7f0cf
parentadd some comments when writing make.conf (diff)
downloadlivecd-tools-8153df03e15624ba4319d2fc9b1fd1fefb47cd86.tar.gz
livecd-tools-8153df03e15624ba4319d2fc9b1fd1fefb47cd86.tar.bz2
livecd-tools-8153df03e15624ba4319d2fc9b1fd1fefb47cd86.zip
fix typos, reenable remaining vt (no autologin)2.4
-rw-r--r--init.d/fixinittab6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.d/fixinittab b/init.d/fixinittab
index d675b9b..7123cc0 100644
--- a/init.d/fixinittab
+++ b/init.d/fixinittab
@@ -83,7 +83,11 @@ start()
if [ "${LIVECD_CONSOLE}" = "tty0" -o "${LIVECD_CONSOLE}" = "" ]
then
if [ "${SECURECONSOLE}" = "yes" ]; then
- echo "c1:12345:respawn:/sbin/mingetty --noclear --autologin $(id -nu 1000 2>/dev/null || echo root) tty${x}" >> /etc/inittab
+ echo "c1:12345:respawn:/sbin/mingetty --noclear --autologin $(id -nu 1000 2>/dev/null || echo root) tty1" >> /etc/inittab
+ for x in 2 3 4 5 6
+ do
+ echo "c${x}:2345:respawn:/sbin/agetty 38400 tty${x} linux" >> /etc/inittab
+ done
else
for x in 1 2 3 4 5 6
do