[no ci] Package: minor fpv script cleanup

pull/1397/head
Viktor 2024-04-12 09:40:07 +02:00
parent 59068092aa
commit 77cd76e81f
2 changed files with 3 additions and 6 deletions

View File

@ -24,18 +24,15 @@ case "$1" in
if [ "$fw" = "lte" ]; then
if [ "$usb_modem" = "true" ]; then
echo "Starting lte modem configuration..."
echo "ToDo: Running usb_modeswitch or other shit here..."
fi
# for the future
#cli -s .outgoing.url1 udp://$gs_ipaddr:$gs_port
if [ "$use_zt" = "true" ]; then
echo "Starting ZeroTier-One daemon..."
/usr/sbin/zerotier-one -d &
if [ ! -f "/var/lib/zerotier-one/networks.d/$zt_netid.conf" ]; then
sleep 8
zerotier-cli join "$zt_netid" > /dev/null
echo "Don't forget authorize in the my.zerotier.com!"
echo "Don't forget to authorize my.zerotier.com!"
fi
fi

View File

@ -97,8 +97,8 @@ load_interface() {
iwconfig "$wlan" channel "$channel"
fi
# dirty fix crash if txpower set. setting txpower disabled because patched driver always set txpower level 58
# iw dev $wlan set txpower fixed $(($txpower * 100))
# Set txpower
#iw dev $wlan set txpower fixed $(($txpower * 100))
}
start_drone_wfb() {