power-off button and /etc/inittab
Andrew Mathews
andrew_mathews
Mon May 17 11:39:20 PDT 2004
m.w.chang wrote:
> without attaching a keyboard to my server, I could press the power off
> button and expect the linux to gracefully run `poweroff -n`, just like
> the Window$. ctrl-alt-del is just a different way of `shutdown -r now`
>
> Just 2 days ago, I needed to shutdown my linux server in a hurry (fire
> in my building's ilft control room). well, still no life service until
> now for those living on the 20th floor. hoho...
>
>> Huh? The power button isn't part of the keyboard, so no. I dont'
>> understand what you're trying to do anyway.
>
>
>
If you can find a way to integrate the power switch into the operating
system it would work, however you're asking it to essentially do a
graceful shutdown *after* pulling the power cord from it. Kinda like
sending out an email to let everyone know the mail server is down. After
the fact is too late.
--
Andrew Mathews
---------------------------------------------------------------------
7:25am up 2 days, 20:28, 6 users, load average: 1.00, 1.05, 1.21
---------------------------------------------------------------------
Dear Lord:
I just want *___one* one-armed manager so I never have to hear "On
the other hand", again.
More information about the Linux-users
mailing list