1 2 3 4 5 6 7 8 9 10
#!/bin/sh export ACTION=add #export ACTION=remove export DEVPATH=/block/hda export DEVPATH=/block/sda/sda1 #export DEVPATH=/block/sda ./udev block