mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-25 22:52:07 +08:00
d937401511
* hardware: read network info without NetworkManager DBus * hardware: simplify wpa_cli SSID escape decoding * hardware: restore cellular block in get_network_type to match master * hardware: factor wpa_cli helper for key=value parsing * hardware: comment SSID byte conversion for keyfile match * hardware: comment NM metered enum values * hardware: use check_output for ip route and wpa_cli helpers * hardware: read default route iface from /proc/net/route * hardware: simplify default route iface parsing * hardware: only check for metered == 1 * hardware: also look for *.nmconnection in /data/etc/NetworkManager/system-connections * hardware: use nmcli for runtime metered guess on wifi * socket * cleanup * poor * lil more * mv that --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>