title: udev rule runs bash script multiple times
body: <p>I created a udev rule to execute a bash script after the insertion of a usb device</p>
  
  <pre><code>SUBSYSTEMS=="usb", ATTRS{serial}=="00000000", SYMLINK+="Kingston", RUN+="/bin/flashled.sh"
  </code></pre>
  
  <p>However the script is run several times instead of just once, I assume it is down to way the hardware is detected? I tried putting sleep 10 into the script and fi but it makes no difference.</p>