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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Customize reboot and shutdown commands< Next Oldest | Next Newest >
dialomar Offline





Group: Members
Posts: 14
Joined: April 2006
Posted: July 31 2006,13:34 QUOTE

Hi,

How can I customize reboot and shutdown commands?
There is anyway to get their source code and compile them?

Thanks in advance.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 31 2006,18:09 QUOTE

In what way do you want to customize them?  If you just want to run some additional stuff during shutdown or startup, the relevant scripts are /opt/bootlocal.sh and /opt/powerdown.sh

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
dialomar Offline





Group: Members
Posts: 14
Joined: April 2006
Posted: July 31 2006,20:15 QUOTE

Quote (mikshaw @ July 31 2006,14:09)
In what way do you want to customize them?  If you just want to run some additional stuff during shutdown or startup, the relevant scripts are /opt/bootlocal.sh and /opt/powerdown.sh

I want to echo off all screen messages like :
INIT: Sending ....

I realize that init file which is responsible for reboot and shutdown processes, but how can I recompile init file ?

Thanks
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: Aug. 01 2006,03:17 QUOTE

Quote (dialomar @ July 31 2006,16:15)
I want to echo off all screen messages like :
INIT: Sending ....

You want to turn off all messages as it is shutting down?

I have to ask.  Why?
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Aug. 01 2006,04:18 QUOTE

Jeah. It's quite important to know if there's something wrong...
Without error msg's you can only guess where's the problem.


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
7 replies since July 31 2006,13:34 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Customize reboot and shutdown commands

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