Hey folks, just getting started here with BBB.

Like many who get one of these I picked it up with a specific purpose in 
mind, and I want the board to start on that purpose right away... so I want 
to auto execute a script on startup. I'm not quite that far, and have a few 
tutorials to read on auto login and start. Meanwhile I'm just trying to get 
my script going and it won't complete because the first command starts a 
"service", mjpg-streamer, and hogs the shell so that the next command never 
starts (I want to start OctoPrint).

Is there some secret word like spawn, exec, start, execstart etc that will 
allow the first command to spawn and remain running so the second command 
can start?

Here's the script so far (I wish I could figure how to copy to the 
clipboard from vim but...):

<https://lh5.googleusercontent.com/-0cUAUnn-WAA/UxfsmapwgwI/AAAAAAAAEns/oST_jHtrLTI/s1600/BBBstartup.PNG>

by the way, the only way I know to kill this script is to hit ctrl-C, which 
does kill mjpg-streamer, and then OctoPrint starts, but it complains that 
"daemon already running?"

I've been Googling this for a while and so far haven't uncovered what seems 
like it should be simple. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to