summaryrefslogtreecommitdiffstats
path: root/ship/src
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-11-13 10:46:51 +0100
committermakefu <root@pigstarter.de>2013-11-13 10:46:51 +0100
commitbe7f471ff83fc68b09ddde94a45a58d665849d3b (patch)
tree2555eefbd3f925cef8ff866bbbcdc1228c6a6cdb /ship/src
parent41f20813f3de8df1cc8074e5d18692388bd6f482 (diff)
ship: remaster_iso -> remaster_arch_iso
Diffstat (limited to 'ship/src')
-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!"