Jump to content


Mendiaco

Member Since 17 Nov 2012
Offline Last Active 03 Feb 2013 10:21
-----

Posts I've Made

In Topic: Empty channels cause crash

2 February 2013 - 21:19

After last update I have the same problem with my Dream 7020HD

In Topic: MBox on openpli?

18 November 2012 - 14:44

I install in var/bin mbox.. Permission 755
In var/script/mbox.sh
My code is:



#!/bin/sh

CAMNAME="Mboxg-4-0023r3"

remove_tmp () {
rm -rf /tmp/ecm.info /tmp/pid.info /tmp/*mbox*
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
sed -i '/A: { 1 }/d' /usr/keys/mbox.cfg
if ! grep '^P:.*' /usr/keys/mbox.cfg > /dev/null
then
echo "P: { 2/tmp/camd.socket }" >> /usr/keys/mbox.cfg
fi
/usr/bin/mbox
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
touch /tmp/mbox.kill
sleep 5
killall -9 mbox 2>/dev/null
remove_tmp
;;
*)
$0 stop
exit 1
;;
esac

exit 0


in usr/keys mbox,cfg permission 644
in etc/ mbox.cfg permission644

Any idea?
Thanks.