This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.
by theviper06 » Thu Apr 05, 2012 10:18 am
Hello,
i need to start "motion" with this command: "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so motion"
motion supports to be added in the rc.conf Daemon. How can i start motion on system startup with this command above?
Best regards
-
theviper06
-
- Posts: 5
- Joined: Fri Nov 12, 2010 12:43 pm
by pepedog » Thu Apr 05, 2012 12:15 pm
my guess would be to edit /etc/rc.d/motion
$this->bbcode_second_pass_code('', '[ -z "$PID" ] && /usr/bin/motion
to
[ -z "$PID" ] && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/motion
or
[ -z "$PID" ] && LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so && /usr/bin/motion')
-
pepedog
- Developer
-
- Posts: 2431
- Joined: Mon Jun 07, 2010 3:30 pm
- Location: London UK
-
Return to Marvell Kirkwood
Who is online
Users browsing this forum: No registered users and 3 guests