Update rootfs_script.sh

pull/1681/head
Huang jinlong 2024-12-07 08:09:25 +08:00 committed by GitHub
parent 70f9d5e95f
commit ecf9d1f54e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ if echo "$usb_info" | grep -q "ID 2c7c:0125"; then
ifdown ztbtowlgpc
ifup ztbtowlgpc
killall UDPSplitter
nohup /mnt/mmcblk0p1/UDPSplitter 9021 5601 5600 > nohup.out 2>&1 &
nohup /usr/bin/UDPSplitter 9021 5601 5600 > nohup.out 2>&1 &
echo "add 192.168.192.20" | socat - UDP-DATAGRAM:127.0.0.1:9021
echo "add 192.168.192.20" | socat - UDP-DATAGRAM:127.0.0.1:9021
echo "add 192.168.192.20" | socat - UDP-DATAGRAM:127.0.0.1:9021
@ -94,3 +94,4 @@ if [ -f "$WFB_CONF" ]; then
else
echo "$WFB_CONF does not exist!"
fi
cp ${GITHUB_WORKSPACE}/general/scripts/UDPSplitter ${TARGET_DIR}/usr/bin/UDPSplitter