From bc04b276a5dae1c70332e7e7971ff4b09e24b6b9 Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Thu, 1 Dec 2022 12:22:05 +0100 Subject: [PATCH] remove starter Took 1 minute --- doc/start.sh | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/doc/start.sh b/doc/start.sh index 4433fa4..a414ed4 100644 --- a/doc/start.sh +++ b/doc/start.sh @@ -1,18 +1,20 @@ #!/bin/bash -cd /home/itender/ + +exit +cd /home/itender/ || exit sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State' sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences -address="" -if ping -c1 -W1 192.168.1.186; then - address="192.168.1.186" -fi -if ping -c1 -W1 192.168.208.15; then - address="192.168.208.15" -fi -if ping -c1 -W1 10.10.0.5; then - address="10.10.0.5" -fi +#address="" +#if ping -c1 -W1 192.168.1.186; then +# address="192.168.1.186" +#fi +#if ping -c1 -W1 192.168.208.15; then +# address="192.168.208.15" +#fi +#if ping -c1 -W1 10.10.0.5; then +# address="10.10.0.5" +#fi address="localhost" echo "Waiting 5 seconds to start chromium..."