summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xship/src/remaster_arch_iso (renamed from ship/src/remaster_iso)16
1 files changed, 13 insertions, 3 deletions
diff --git a/ship/src/remaster_iso b/ship/src/remaster_arch_iso
index c11f1f57..dcbdb7ec 100755
--- a/ship/src/remaster_iso
+++ b/ship/src/remaster_arch_iso
@@ -54,14 +54,24 @@ for arch in x86_64 i686;do
cat >> /root/.zshrc<<EOL
cat << EOD
This is the Krebs Autoinstaller, we will do all the right things.
-Just Wait until everything finished
-if anything went wrong,you can run the installer again at:
+Just Wait until everything finished.
+
+- Make sure that RJ45 is connected
+- you can bail out of the progress at any time with CTRL-C
+- if anything went wrong,you can run the installer again at:
/krebs/autoinstall
+
EOD
-(sleep 5 && /krebs/autoinstall)&
+/krebs/autoinstall
EOL
mkdir /krebs
cat > /krebs/autoinstall <<EOL
+internet() { ping -w 1 google.de >/dev/null 2>&1; }
+while ! internet;do
+ echo "no Internet yet, waiting ..."
+ sleep 3
+done
+
echo "Grabbing current version of install-script from $auto_url"
echo
echo "AGENTS ARE GOOOOOOOOOOO!"