feat: stop syncthing if not connected to wifi.

This commit is contained in:
redxef 2025-01-07 20:45:20 +01:00
parent 4b69358604
commit 1c70a5c442
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,2 +1,2 @@
KERNEL=="eth*", ACTION=="add", RUN+="/usr/local/syncthing/start.sh"
KERNEL=="wlan*", ACTION=="add", RUN+="/usr/local/syncthing/start.sh"
KERNEL=="wlan*", ACTION=="remove", RUN+="/usr/local/syncthing/stop.sh"