Shred thumbstick before setup
This commit is contained in:
parent
8ee70bb0c9
commit
abbfd0df71
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ else
|
|||
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
|
||||
sudo umount "$mountPath";
|
||||
|
||||
sudo shred -vfzn 0 -s 1G "$WIN_DISK";
|
||||
|
||||
if [ ! -b "$WIN_DISK" ]
|
||||
then
|
||||
chooseDisk WIN_DISK;
|
||||
|
|
Loading…
Reference in a new issue