arch-maride-flavour/install.sh
2017-07-30 22:19:24 +02:00

28 lines
677 B
Bash
Executable File

#!/bin/sh
echo "HOI, this is the 'Arch w/ maride flavour' install script (chainloader)"
echo "Hope you used TLS..."
echo -e "=-=-=-=-=-=-=-=-=-=-=\n"
echo "=> Things you should've set up already:"
echo " * Your keyboard layout (consider passwords!)"
echo " * Any RAID setup that you are planning to set up"
echo " * An internet connection (DHCP or static, idc...)"
echo -n "=> Did you set that up? (y/N) "
read answer
if [ "$answer" != "y" ]; then
echo "OK, then do necessary steps and see you soon."
exit 1
fi
for check in checks/*.check
do
echo "=> Running check '$check'..."
. $check
if [ "$?" -eq 0 ]; then
echo "=> Check failed. Fix it, maybe."
exit
fi
done