in initrd "exec sh /dev/console 2>&1" does not respond to keyboard

David Mathog mathog at caltech.edu
Wed Feb 27 20:01:25 UTC 2019


This:

   https://busybox.net/FAQ.html#job_control

suggests this might work with /dev/console (what tty shows)

   setsid cttyhack sh

Unfortunately that does not work either.  Same result, There is a prompt 
but input
is ignored.  Or I guess possibly output goes elsewhere.  However 
"poweroff" and "reboot" do nothing, so I think the former and not the 
latter.

Thanks,

David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech


More information about the busybox mailing list