1761207482

This commit is contained in:
2025-10-23 02:18:02 -06:00
parent 3c8dfd86e8
commit ba5024fce1
2 changed files with 6 additions and 13 deletions
+5 -2
View File
@@ -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;