Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Shutdown DS, I have a problem programing shutdown< Next Oldest | Next Newest >
xxjcaxx Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 24 2006,09:02 QUOTE

Hello.

I'm trying to programe a shutdown with this sentence:

$shutdown -h 30

My idea is that it should shutdown and power off the computer automatically. But in all shutdown it request me to press enter after all. It open the cd and request me that i must to clear the cd and press enter.

I'm using the cd boot.
¿there was any way to shutdown completly?

And other question: ¿how can i configure the screen saver in DSL?

Thanks and sorry if my english is not perfect.
Back to top
Profile PM 
Ramik Offline





Group: Members
Posts: 53
Joined: Nov. 2006
Posted: Nov. 24 2006,17:43 QUOTE

I think its one of the rc's (probably 6) that's responsible for shutdown.
Just shutdown and see which runlevel is initiated, Then just check the scripts associated with that runlevel in /etc/rc$runlevel.d ($runlevel = the runlevel that were initiated), and put in that directory whatever it is you want by the necessary order (K01*,K02*,K03*...).
Back to top
Profile PM 
Winter Knight Offline





Group: Members
Posts: 146
Joined: April 2006
Posted: Nov. 28 2006,15:47 QUOTE

I think booting with the noeject option will disable ejecting. Also, the toram option will prevent DSL from ejecting. However, I think with both of these, it will still tell you to remove the CD and require you to press Enter. Then it will shut down.

Ramik's suggestion certainly gives you much finer control. If simply not ejecting isn't enough, than that is the route you want to take. I must warn you that anything you write in /etc will not be there next reboot. So, you'll either need your shutdown script to make these adjustments on the fly, or you'll need to do a HDD install, in which case all adjustments made to /etc will be permanent.

As for turning off screen saver, here's a post regarding that:
http://damnsmalllinux.org/cgi-bin....t=16211
If you want to configure the screen saver as in having an animated Windows-type screen saver, I'm not sure.
Back to top
Profile PM 
xxjcaxx Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 28 2006,18:24 QUOTE

Thanks, i'll try it.

I'm using DSL in a PC without HD.
Back to top
Profile PM 
3 replies since Nov. 24 2006,09:02 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Shutdown DS

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code