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

13 lines
246 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
2017-07-30 22:05:02 +00:00
exit $?
else
exit 1
fi