arch-maride-flavour/install.sh

29 lines
694 B
Bash
Raw Normal View History

2017-07-30 19:58:31 +00:00
#!/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
2017-07-30 20:19:24 +00:00
for check in checks/*.check
do
echo "=> Running check '$check'..."
2017-07-30 20:51:32 +00:00
$($check)
return=$?
if [ "$return" -ne 0 ]; then
2017-07-30 20:19:24 +00:00
echo "=> Check failed. Fix it, maybe."
exit
fi
done