diff options
-rwxr-xr-x | src/initrd/make-total-destroy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/initrd/make-total-destroy b/src/initrd/make-total-destroy new file mode 100755 index 0000000..10f8f3d --- /dev/null +++ b/src/initrd/make-total-destroy | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | usage() { | ||
3 | exec >&2 | ||
4 | echo "Usage: $0 <blockdev>" | ||
5 | exit 1 | ||
6 | } | ||
7 | [ -b "$1" ] || usage | ||
8 | parted "$1" mklabel gpt | ||
9 | grok-block "$1" \ No newline at end of file | ||