diff --git a/automount_devd_DEBUG.conf b/automount_devd_DEBUG.conf index ff7f2b3..fd8f35a 100644 --- a/automount_devd_DEBUG.conf +++ b/automount_devd_DEBUG.conf @@ -2,13 +2,13 @@ notify 200 { match "system" "DEVFS"; match "type" "CREATE"; match "cdev" "(da|mmcsd)[0-9]+"; - action "/usr/local/sbin/automount $cdev attach >> /root/DEBUG.$cdev.attach 2>&1"; + action "/bin/sh -xe /usr/local/sbin/automount $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 $cdev detach >> /root/DEBUG.$cdev.detach 2>&1"; + action "/bin/sh -xe /usr/local/sbin/automount $cdev detach >> /root/DEBUG.$cdev.detach 2>&1"; };