From 9bd272cec89a614fd1c0837fc37819116027422c Mon Sep 17 00:00:00 2001 From: "Slawomir Wojciech Wojtczak (vermaden)" Date: Mon, 20 Feb 2012 12:17:49 +0100 Subject: [PATCH] commit - `date` --- automount_devd_DEBUG.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 automount_devd_DEBUG.conf diff --git a/automount_devd_DEBUG.conf b/automount_devd_DEBUG.conf new file mode 100644 index 0000000..c8b7e9d --- /dev/null +++ b/automount_devd_DEBUG.conf @@ -0,0 +1,13 @@ +notify 200 { + match "system" "DEVFS"; + match "type" "CREATE"; + match "cdev" "(da|mmcsd)[0-9]+"; + action "/usr/local/sbin/automount.sh $cdev attach >> /root/DEBUG.$cdev.attach 2>&1"; +}; + +notify 200 { + match "system" "DEVFS"; + match "type" "DESTROY"; + match "cdev" "(da|mmcsd)[0-9]+"; + action "/usr/local/sbin/automount.sh $cdev detach >> /root/DEBUG.$cdev.detach 2>&1"; +};