Revision [20372]

This is an old revision of AddCommandsStartupShutdown made by darkcity on 2012-01-30 12:20:46.

 

HomePage > ComponentHowTo Components and HowTos
text

How to add Commands at Startup and Shutdown


Execute After X GUI start up
A simple way to add an action is put an executable, scripts or symlink to in the directory-
/root/Startup

This is handy if you want something to run automatically.

You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want
to copy, move or link, and you choose to link.

Execute Before X GUI start up
To execute something at prior to the X desktop loading, edit-
/etc/rc.d/rc.local

Execute on Shutdown
To execute something at prior to the X desktop loading, edit-
/etc/rc.d/rc.shutdown
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki