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: Instant powerdown tip< Next Oldest | Next Newest >
eight7876565 Offline





Group: Members
Posts: 13
Joined: Sep. 2005
Posted: Aug. 24 2006,14:38 QUOTE

Running from the live cd, no swapfile, no drives mounted, I find it quite blissful to simply touch the power button on my computer-and, instantly, its off!  No waiting around.........
Back to top
Profile PM 
kenboyles72 Offline





Group: Members
Posts: 39
Joined: Feb. 2006
Posted: Aug. 28 2006,03:08 QUOTE

Or, if you have a hdd install, you can do what I did. There's a bit more to it though, but fun. I created two icons for "Restart" and "Shutdown". With icon tool I created the two icons with the following commands:
Shutdown- "exitcheck.sh shutdown"
Restart- "exitcheck.sh reboot"

I just chose some png file that was already listed. Then I made these two png files with transparent background. The pngs can be viewed here (link removed - no longer valid) , since I cant post png files here. Then I added these two to /home/dsl/.xtdesktop and modified the desktop icons to use those pngs. Now, all I have to do is just one click to either reboot or shutdown. If you want to do the same, you're more than welcome to use those pngs.


Back to top
Profile PM 
fozner Offline





Group: Members
Posts: 15
Joined: Sep. 2006
Posted: Sep. 05 2006,06:20 QUOTE

I went a step further.  In /etc/init.d are some scripts, namely knoppix-halt and knoppix-reboot.  I was getting a segfault at shutdown during cardctl eject (old laptop is physically incapable of ejectting a card anyway) so I just commented that whole if...fi block out.  While I was at it, I commented out most of the sleep statements and cut the value of usleep in mysleep() to 35000.  Now it shuts down and reboots rather fast...
Back to top
Profile PM 
2 replies since Aug. 24 2006,14:38 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Instant powerdown tip

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