CloudCustodian has offered this for quite some time. We use it at our company in all our accounts.
It simply uses udev to identify when the USB device is removed, then executes a linux command of your choosing. In the examples provided, he demonstrates a simple 'lockscreen' and 'shutdown' command. It's clever, I'll…
CloudCustodian has offered this for quite some time. We use it at our company in all our accounts.
It simply uses udev to identify when the USB device is removed, then executes a linux command of your choosing. In the examples provided, he demonstrates a simple 'lockscreen' and 'shutdown' command. It's clever, I'll…