/init bash script executed by the kernel in initramfs.img i need to send a signal to drop me to a rescue shell, so i have
trap "exec /bin/bash" SIGINT
ctrl+C isn't effective.
First why the trap isn't working in initramfs stage? Is there otherway to achieve the same objective, to drop the user inside resuce shell during execution?