[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: can't cleanly exit shell from FC5 rescue CD



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]