automount/automount_devd_DEBUG.conf

14 lines
380 B
Plaintext

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";
};