Disable other getty lines as debian does.
This makes t/hook-inittab.t pass for this hook.
This commit is contained in:
committed by
Stéphane Jourdois
parent
9e43d6a268
commit
6a66d4f068
@@ -30,7 +30,7 @@ logMessage Script $0 starting
|
||||
rm ${prefix}/etc/event.d/tty[!1]
|
||||
sed -i -e s/tty1/hvc0/ ${prefix}/etc/event.d/tty1
|
||||
mv ${prefix}/etc/event.d/tty1 ${prefix}/etc/event.d/hvc0
|
||||
[ -f ${prefix}/etc/inittab ] && sed -i -e s/tty1/hvc0/ ${prefix}/etc/inittab
|
||||
[ -f ${prefix}/etc/inittab ] && sed -i -e 's/^\([2-6].*:respawn*\)/#\1/' -e 's/^T/#\t/' -e 's/tty1$/hvc0/' ${prefix}/etc/inittab
|
||||
|
||||
#
|
||||
# Are we using an alternative serial device?
|
||||
|
||||
Reference in New Issue
Block a user