mikshaw


Group: Members
Posts: 4856
Joined: July 2004 |
 |
Posted: Dec. 04 2005,01:55 |
 |
With that particular issue (removing icons), the command can be done from any standard startup script, but the two mentioned are more appropriate because they run only once in a typical DSL system. Determining which script to use for which command mostly depends on which user needs to run the command and when it needs to run.
/opt/bootlocal.sh runs (as root) at the end of the boot process...used for anything automatically run as root (services, daemons). /home/dsl/.bash_profile runs (as dsl) when dsl logs in...used for anything automatically run once as dsl that does not require a graphical system. /home/dsl/.xinitrc runs when the graphical system starts...used for anything that requires a graphical interface. /home/dsl/.bashrc runs every time you open a new shell...can be used for various things, but typically used to set aliases and bash prompt. It runs MANY times during a typical session, so you don't want to use it for starting applications.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|