Jump to content

DONT STAY LURKING AS A GUEST,

JOIN TEF AND BENEFIT FROM MEMBERSHIP:

CLICK HERE TO JOIN.
  •  
     
     
Countdown To Christmas!
 

 

Raspberry Pi


steptoe

Recommended Posts

steptoe

hello,

I running Raspbian on my Pi and want to run a script on start up,

anyone know where I need to put it?

 

Link to comment
Share on other sites
 
steptoe

You need to put your script in etc/init.d, make it executable and call it on startup by using update rc.d to add it to startups

 

But don't know if that works with your flavour of linux

 

well, thats what I thought,

unfortunately it conflicted with my auto log-in that is in there too, and my autorun script was trying to run before the log in had completed,

it kept going into an infinite loop and wouldnt let me do anything else,,,,   :(

ended up putting it in bash.rc

seems to be doing its job,

just need to make sure it doesnt keep trying to run when I exit it and try use the terminal in X mode now.

so far so good, need to get the woodwork tools out this weekend now,  ;)

Link to comment
Share on other sites
 

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

Terms of UseWe have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.