mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-09 15:08:21 +00:00
ser2net: update init scripts and wz_mini.conf, socat is deprecated
This commit is contained in:
parent
ac34e561cc
commit
cde9a372fd
@ -14,7 +14,7 @@ remote() {
|
||||
echo "#####$(basename "$0")#####"
|
||||
|
||||
if [[ "$REMOTE_SPOTLIGHT" == "true" ]]; then
|
||||
/opt/wz_mini/bin/socat pty,link=/dev/ttyUSB0,raw tcp:"$REMOTE_SPOTLIGHT_HOST":9000 &
|
||||
/opt/wz_mini/bin/ser2net -c /opt/wz_mini/etc/ser2net.yaml
|
||||
echo "Remote accessory support enabled"
|
||||
else
|
||||
echo "Remote accessory support disabled"
|
||||
@ -26,7 +26,7 @@ case "$1" in
|
||||
remote &
|
||||
;;
|
||||
stop)
|
||||
pkill socat
|
||||
pkill ser2net
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start}"
|
||||
|
@ -49,7 +49,6 @@ BONDING_FAIL_OVER_MAC="0"
|
||||
|
||||
#####ACCESSORIES#####
|
||||
REMOTE_SPOTLIGHT="false"
|
||||
REMOTE_SPOTLIGHT_HOST="0.0.0.0"
|
||||
|
||||
#####VIDEO STREAM#####
|
||||
RTSP_LOGIN="admin"
|
||||
|
@ -49,7 +49,6 @@ BONDING_FAIL_OVER_MAC="0"
|
||||
|
||||
#####ACCESSORIES#####
|
||||
REMOTE_SPOTLIGHT="false"
|
||||
REMOTE_SPOTLIGHT_HOST="0.0.0.0"
|
||||
|
||||
#####VIDEO STREAM#####
|
||||
RTSP_LOGIN="admin"
|
||||
|
Loading…
Reference in New Issue
Block a user