From 88085d58fdb2fda79d307cf4abec4d936bd0f22b Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 24 Nov 2018 18:14:19 +0100 Subject: [PATCH 1/1] 90-v4l2-persistent-settings.rules: execute the rule only when ACTION=="add" --- 90-v4l2-persistent-settings.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.1.4