arch-maride-flavour/steps/10-wipe.step

13 lines
248 B
Plaintext
Raw Normal View History

#!/bin/sh
2017-07-30 22:04:19 +00:00
echo -n "~> Going to wipe $blockdevice. You sure? (y/N) "
read answer
if [ "$answer" == "y" ]; then
echo "~> OK. Be patient now, that could take some time..."
dd if=/dev/zero of=$blockdevice status=progress
return $?
else
exit 1
fi