PDA

View Full Version : Shutting down knoppix automatically



TheSpider
02-03-2004, 02:23 PM
How do i prevent the "remove CD and press enter" thing when shutting down?

I want my PC to power down at a given time, cause its noisy and its in my bedroom. It needs to run for a while after i leave it, but shutdown doesnt actually power off until i press enter.

Thanks

windos_no_thanks
02-03-2004, 03:05 PM
Haven't tried it myself but this might work.
At the boot prompt type:


knoppix noeject noprompt

TheSpider
02-04-2004, 12:55 AM
Hmm, that means i need to know that i want to shut it down automatically when i boot up. :(
Is there a way to do it if i have already logged in?

windos_no_thanks
02-04-2004, 05:00 AM
Hmm, that means i need to know that i want to shut it down automatically when i boot up. :(
Is there a way to do it if i have already logged in?
Umm, why would it not be possible to always boot like that ? The only difference should be that it doesn't spit out the CD or wait for a keypress when it is shutting down. You still decide when to shut down, either manually of for instance like this (as root) :


shutdown -h hh:mm

Where hh is the hour of the day and mm the minutes.

Or like this:



shutdown -h +m

Where m is the number of minutes to run before shutting down.