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

13 lines
245 B
Plaintext
Raw Normal View History

#!/bin/sh
echo "~> 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