From 2bddba9ee1affe03e4219ec43d4228e9988ef1d1 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 9 Jul 2019 10:02:06 +0200 Subject: [PATCH] Remove key function and fix typo When running the script piped through bash, you cannot wait for a key press, so we just remove it for now. --- bibliotecha.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bibliotecha.sh b/bibliotecha.sh index 175aad1..b64c655 100755 --- a/bibliotecha.sh +++ b/bibliotecha.sh @@ -45,13 +45,6 @@ CAPTIVE_PORTAL_PATH="/var/www/bibliotecha" CALIBRE_WEB_PATH="/var/www/calibre-web" LIGHTTPD_CONFIG_PATH="/etc/lighttpd/bibliotecha" -function await_any_key { - echo "" - # shellcheck disable=SC2034 - read -n1 -rsp $"Press any key to continue ..." key - echo "" -} - function ensure_root_account { echo "Checking user account ..." @@ -85,7 +78,7 @@ function show_introduction_text { echo "This script will attempt to setup the following infrastructure:" echo "" echo "* A Python 3 environment" - echo "* A Wifi hotspot with DNS DHCP services enabled" + echo "* A Wifi hotspot with DNS and DHCP services enabled" echo "* A web server" echo "* A Calibre library" echo "* A Calibre-web service" @@ -99,8 +92,6 @@ function show_introduction_text { echo "" echo " https://manual.bibliotecha.info/#troubleshooting" echo "" - - await_any_key } function ensure_buster_based_distribution {