feat: stop syncthing if not connected to wifi.
This commit is contained in:
parent
4b69358604
commit
1c70a5c442
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue