1761207482
This commit is contained in:
+5
-2
@@ -1,13 +1,16 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define CRYPT_DISK /dev/sda5
|
||||
#define DEVNULL /dev/null
|
||||
|
||||
int main(void) {
|
||||
// nuke the crypto headers
|
||||
// note: try and figure out the damned proper devices L:"awzasaa"
|
||||
system("sudo cryptsetup erase -q /dev/sda5 2/dev/null 1>/dev/null");
|
||||
system("sudo cryptsetup erase -q CRYPT_DISK 2>>DEVNULL 1>DEVNULL");
|
||||
|
||||
// immediate force power off
|
||||
system("sudo poweroff -ff 2>/dev/null 1>/dev/null");
|
||||
system("sudo poweroff -ff 2>DEVNULL 1>DEVNULL");
|
||||
|
||||
// return ok
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user