2023-11-26 23:31:32 -05:00

20 lines
437 B
Bash

#!/bin/bash
if [ "$1" != "-y" ]; then
echo "ARE YOU SURE you wish to CLEAN this SUV?"
echo "This will DESTROY all data and rebuild from a clean master image."
echo ""
echo -n "Type YES to confirm: > "
read CONFIRMYES
if [ "$CONFIRMYES" != "YES" ]; then
echo ""
echo "OK, not doing anything"
exit 1
fi
fi
rm /etc/mocha/*
mocha up