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:
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Wait for the configured phone hotspot
|
||||
After=NetworkManager.service
|
||||
Wants=NetworkManager.service
|
||||
Conflicts=yaris-netwatch.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutStartSec=180
|
||||
ExecStartPre=-/usr/bin/systemctl stop yaris-netwatch.timer
|
||||
ExecStart=/usr/local/bin/yaris-uplink wait
|
||||
ExecStopPost=/usr/bin/systemctl start yaris-netwatch.timer
|
||||
Reference in New Issue
Block a user