Can someone explain to me in laymen's terms what this does? It renders the motherboard inoperable? Kills the display? How do you recover from this if you ACCIDENTALLY unplug it?
So this is a "kill cord" in the meaning of a jetski, power boat, or treadmill where pulling out the kill cord triggers a fast but nondestructive stop.
• whenever any USB drive is removed, trigger xscreensaver to lock the screen:
> ACTION=="remove", SUBSYSTEM=="usb", RUN+="DISPLAY=:0 xscreensaver-command -lock"
• whenever a specific USB drive is removed, shut down the computer:
> ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_MODEL}=="Micromax_A74", RUN+="shutdown -h now"
Not something most users likely need but I can imagine some TLAs being interested in something like this, as it looks pretty inexpensive to implement.
It's clever, I'll admit, but the name leaves more to be desired with a name like 'buskill'