merge apfpv builds

This commit is contained in:
viktorxda
2025-08-05 17:44:10 +02:00
parent 76c9c5a689
commit 2f42252d35
20 changed files with 1 additions and 267 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
case "$1" in
start)
echo "Starting network..."
ifup lo
ifup eth0
ifup wlan0
;;
stop)
echo "Stopping network..."
ifdown lo
ifdown -f eth0
ifdown -f wlan0
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh
case "$1" in
start)
echo "Starting msposd..."
devmem 0x1F207890 16 0x8
sleep 1
size=$(curl -s localhost/api/v1/config.json | jsonfilter -qe "@.video0.size")
msposd -b 115200 -c 8 -r 20 -m /dev/ttyS2 -z "$size" > /dev/null &
;;
stop)
echo "Stopping msposd..."
killall -q msposd
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac