mirror of https://github.com/OpenIPC/firmware.git
remove run telemetry from venc init script
parent
df0984c2dd
commit
4f4c78bc8a
|
@ -35,8 +35,7 @@ case "$1" in
|
|||
if [ ${telemetry} = "true" ]; then
|
||||
/usr/bin/telemetry start
|
||||
fi
|
||||
fi
|
||||
if [ ${fw} = "fpv" ]; then
|
||||
else
|
||||
echo "Starting wifibroadcast service..."
|
||||
/usr/bin/wifibroadcast start
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo $1 $2 >> /tmp/channels.log
|
||||
|
||||
exit 1
|
||||
|
|
|
@ -19,5 +19,5 @@ fec_timeout=0
|
|||
guard_interval=long
|
||||
one_way=false
|
||||
|
||||
### for mavfwd: RC override channels to parse after first 4 and call /usr/bin/channels.sh $ch $val, default 0
|
||||
### for mavfwd: RC override channels to parse after first 4 and call /usr/sbin/channels.sh $ch $val, default 0
|
||||
channels=14
|
||||
|
|
|
@ -3,28 +3,17 @@
|
|||
# Start venc encoder
|
||||
#
|
||||
|
||||
. /etc/datalink.conf
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if ! [ -f /dev/ven ]; then
|
||||
ln -s /dev/venc /dev/ven
|
||||
ln -s /dev/venc /dev/ven
|
||||
fi
|
||||
|
||||
echo "Starting venc encoder service..."
|
||||
venc -p 5600 -f 30 -r 7168 -n 1400 -c 265cbr -d frame -v 200_imx307F -s 720p &
|
||||
|
||||
if [ ${telemetry} = "true" ]; then
|
||||
echo "Starting telemetry service..."
|
||||
/usr/bin/telemetry start
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
echo "Stopping venc encoder & telemetry services..."
|
||||
echo "Stopping venc encoder services..."
|
||||
kill -9 $(pidof venc)
|
||||
kill -9 $(pidof telemetry_rx)
|
||||
kill -9 $(pidof telemetry_tx)
|
||||
kill -9 $(pidof mavfwd)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop}"
|
||||
|
|
|
@ -135,7 +135,7 @@ case "$1" in
|
|||
fi
|
||||
|
||||
else
|
||||
echo "Wifibroadcast service disabled in wfb.conf..."
|
||||
echo "Wifibroadcast service disabled in wfb.conf..."
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
|
|
Loading…
Reference in New Issue