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: running a bash script at startup, where to put it?< Next Oldest | Next Newest >
rst Offline





Group: Members
Posts: 9
Joined: Feb. 2006
Posted: Feb. 24 2006,19:26 QUOTE

I tried adding it to the /etc/skel/.xinitrc & .bashrc

.xinitrc doesn't seem to work & .bashrc only runs when I open aterm

Anyone know where I can put it?


Incase it helps, the script starts cupsd then installs a printer with lpadmin.

Thanks in advance
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 24 2006,19:35 QUOTE

Since it requires root power, it should be run from /opt/bootlocal.sh

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Feb. 24 2006,19:26 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: running a bash script at startup

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