summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/hotplug.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion b/target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion
new file mode 100644
index 0000000..557698b
--- /dev/null
+++ b/target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion
@@ -0,0 +1 @@
+[ "$ACTION" == "motion" ] && logger webcam motion event