From: Henry Nestler <Henry.Ne@Arcor.de> - 2005-06-07 08:55:12
Antwerpen, G. (Gert) van wrote:
>>Antwerpen, G. (Gert) van wrote:
>>>The patch does not exactly what it suggests. It's sending a
>>>ctrl-alt-del to the running linux, which is not what it should do, so
>>>some more work is needed to make it complete.
>>Have you modify /etc/inittab for Halt after Shutdown, instand
>>Param -r --> -h
>> # What to do when CTRL-ALT-DEL is pressed.
>> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
>>PS: Have not tested new patch, only a sugestion from all my
>>images. I remember me, that 0.7.1 can Reboot linux, if send
> I had already changed my inittab. However, strictly spoken it is not
> correct to send a CTRL-ALT-DEL when you want to shutdown a computer. I
> think it should be possible to send another message (not
> CO_LINUX_MESSAGE_POWER_ALT_CTRL_DEL). If that is possible, another entry
> in de console menu can be also added: Send Powerdown.
> I have been thinking about how to implement it in the linux kernel side.
> Maybe it is possible to exec a "telinit 0" from inside the kernel.
> However, for now, the inittab change works fine. I have replaced the
> complete line by a reference to a small own program that only does a
> "sync(); reboot(RB_POWEROFF);".
> If I do a complete shutdown, it takes too long for a normal stopping
Need your "shutdown -t0 -a -h now" more than 30 Seconds? This is the
time, before Windows SCM timed out the "net stop".
Or means you Shutdown Windows Host? See also this Thread
Get latest updates about Open Source Projects, Conferences and News.