From: Antonio Ospite Date: Sat, 24 Nov 2018 17:14:19 +0000 (+0100) Subject: 90-v4l2-persistent-settings.rules: execute the rule only when ACTION=="add" X-Git-Url: https://git.ao2.it/v4l2-persistent-settings.git/commitdiff_plain/88085d58fdb2fda79d307cf4abec4d936bd0f22b 90-v4l2-persistent-settings.rules: execute the rule only when ACTION=="add" --- diff --git a/90-v4l2-persistent-settings.rules b/90-v4l2-persistent-settings.rules index 25aa802..7242899 100644 --- a/90-v4l2-persistent-settings.rules +++ b/90-v4l2-persistent-settings.rules @@ -1 +1 @@ -SUBSYSTEM=="video4linux", RUN+="/etc/v4l2-persistent-settings/v4l2-settings-restore.sh" +ACTION=="add", SUBSYSTEM=="video4linux", RUN+="/etc/v4l2-persistent-settings/v4l2-settings-restore.sh"