A dead-man-switch but yes
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Dead Woman's Switch
A dead man's switch made to e-stop your linux PC when a drive is unplugged.
Inspired by TailsOS, idea to make this by JessSystemV, written by TudbuT.
$ sudo dws /dev/sdb & disown
Disclaimer
I do not take any liability for any damages done by this software. Use this only on PCs you don't mind losing data on.
Windows version
This kind of thing is entirely different and tedious on Windows and I don't give enough fucks to port it. Same for mac I think but not sure. If you care enough to have a hardware switch to stop your PC, you should move away from those anyway.