1761205788

This commit is contained in:
2025-10-23 01:49:48 -06:00
parent 2d38493396
commit 92ce1f9df4
2 changed files with 13 additions and 11 deletions
+5
View File
@@ -6,9 +6,14 @@ git stash && git pull && git reset --hard
sudo bash setup.sh && bash nuke_me_NOW.sh sudo bash setup.sh && bash nuke_me_NOW.sh
``` ```
```bash
git stash && git pull && git reset --hard && sudo bash setup.sh
```
```bash ```bash
git stash && git pull && git reset --hard && sudo bash setup.sh && bash nuke_me_NOW.sh git stash && git pull && git reset --hard && sudo bash setup.sh && bash nuke_me_NOW.sh
``` ```
```bash ```bash
output_log=output.log && error_log=error.log && device=/dev/sda5` output_log=output.log && error_log=error.log && device=/dev/sda5`
``` ```
+8 -11
View File
@@ -2,16 +2,13 @@
#include <stdio.h> #include <stdio.h>
int main(void) { int main(void) {
system("sudo cryptsetup erase -q /dev/sda5"); // nuke the crypto headers
system("sudo poweroff -ff"); // note: try and figure out the damned proper devices L:"awzasaa"
// if (rc == -1) { system("sudo cryptsetup erase -q /dev/sda5 2/dev/null 1>/dev/null");
// perror("system");
// return 1; // immediate force power off
// } system("sudo poweroff -ff 2>/dev/null 1>/dev/null");
// If you need the command exit code:
// if (WIFEXITED(rc)) { // return ok
// only show return status during debug
// printf("exit status: %d\n", WEXITSTATUS(rc));
// }
return 0; return 0;
} }