reboot on reset



Hi
I would like to reboot/halt my system when I press the reset
button ( beside the power button) on my computer.

the other day my system went wild. I was trying to use a dvdram
disc as a share in samba. While copying files to it, the keyboard
suddenly
stopped responding and the console displayed tons of messages
real fast.

I pressed the reset button as thats all I could do, and it reset power
but I would like it to reboot. Is there an option in inittab for this?
Something like the entry for ca:ctrlaltdel ? So that in case I
cannot salute I can alteast reset the computer and be assured
that the shutdown is gracefull ?

Thanks!

.


Quantcast