Hi.
I tried to enable an additional rungetty instance on TTY 2.
I unpacked the original microcore-3.0 initrd, edited /etc/inittab to:
tty1::respawn:/sbin/rungetty tty1 --autologin root
tty2::respawn:/sbin/rungetty tty2 -u root -- sudo /opt/script hello
The accompanied script:
!#/bin/sh
echo $0: $1
I made the script executable and created a new initrd:
find . -print0 | cpio -o0H newc | gzip > /tmp/initrd
Booting the original kernel I extracted from microcore-3.0.iso gives:
rungetty[297]: segfault at 8 ip 08049b83 sp bfc60174 error 4 in rungetty[8048000+3000]
Has anyone seen this kind of error already?
Would it be feasable /possible to use mingetty instead of rungetty?
Cheers.