diff --git a/src/etc/udev/rules.d/99-syncthing.rules b/src/etc/udev/rules.d/99-syncthing.rules index 800679e..e458690 100644 --- a/src/etc/udev/rules.d/99-syncthing.rules +++ b/src/etc/udev/rules.d/99-syncthing.rules @@ -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"