can't cleanly exit shell from FC5 rescue CD

Adam Monsen haircut at gmail.com
Tue Jul 18 03:07:24 UTC 2006


I found a few workarounds to cleanly exit the shell:

1. kill init with a SIGINT

sh-3.1# kill -INT 1

2. use 'init' symlink

sh-3.1# cd /tmp
sh-3.1# ln -s /bin/init reboot
sh-3.1# ./reboot


I got the idea to use a SIGINT from main() in anaconda's loader2/init.c.

I tried the Fedora Core 4 rescue CD and I *am* able to exit the shell
cleanly by pressing CTRL-D or just typing 'exit<ENTER>'.

-- 
Adam Monsen




More information about the users mailing list