90-v4l2-persistent-settings.rules: execute the rule only when ACTION=="add"
authorAntonio Ospite <ao2@ao2.it>
Sat, 24 Nov 2018 17:14:19 +0000 (18:14 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sat, 24 Nov 2018 17:14:19 +0000 (18:14 +0100)
90-v4l2-persistent-settings.rules

index 25aa802..7242899 100644 (file)
@@ -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"