Does control-C from console interrupt ash script execution?
Dallas Clement
dallas.a.clement at gmail.com
Wed Jun 27 15:35:28 UTC 2007
Hello All,
I am executing an ash init script from initramfs. I have only the
console for I/O at this time -- no TTYs available.
My init script prompts for input like so:
printf " is that correct? (y|n) -> "
read confirm
Should I be able to interrupt ash script execution with a control-C?
I am trying to trap it in my script as follows:
trap abort 2
In case you are wondering, 'abort' is a shell script function.
Thanks,
Dallas
More information about the busybox
mailing list