Add phone hotspot uplink
Prefer a configured phone hotspot for outbound synchronization, preserve secure write-only credentials, and recover through home WiFi or the local Pi hotspot. Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
[Unit]
|
||||
Description=yaris-obd network watcher (hotspot -> home WiFi reconnect check)
|
||||
Description=yaris-obd phone/home/local hotspot uplink watcher
|
||||
After=NetworkManager.service
|
||||
Wants=NetworkManager.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# Retry loop (down AP, rescan, retry connect up to 2x) can take ~80s worst
|
||||
# case - default 90s systemd start timeout was too tight a margin.
|
||||
TimeoutStartSec=180
|
||||
ExecStart=/usr/local/bin/yaris-netwatch.sh
|
||||
TimeoutStartSec=120
|
||||
ExecStart=/usr/local/bin/yaris-uplink check
|
||||
|
||||
Reference in New Issue
Block a user