View Single Post
  #57   Spotlight this post!  
Unread 14-02-2016, 23:30
NegaNexus NegaNexus is offline
Registered User
AKA: Thys Ballard
FRC #2130 (Alpha+)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Coeur d'Alene, Idaho
Posts: 16
NegaNexus is an unknown quantity at this point
Re: mjpg-streamer running on roboRIO

I'm having connectivity issues when the mjpg-streamer daemon service starts at boot. I placed the files in /home/lvuser/mjpg-streamer-182. I tried to set it up so that the server would startup at boot by adding

Code:
#!/bin/sh
cd /home/lvuser/mjpg-streamer-182/
sh start.sh
to a new CAM.sh script in /etc/init.d and then typing into the shell:
Code:
$ update-rc.d /etc/init.d/start.sh defaults
The interesting part is when I attempt to reboot and connect to the robot. It never connects until I unplug the camera, which kills the mjpg-streamer daemon. I can then manually start mjpg-streamer over SSH without issue, but no dice with an at boot start. Does anyone have any ideas?