From a0372fbc4aadbafcc1cc8696d3c545282ec90f64 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 19 Oct 2019 21:06:44 +0200 Subject: [PATCH] Add IP output for start_server --- .shortcuts/start_server | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.shortcuts/start_server b/.shortcuts/start_server index 65a4a27..3ddb56b 100755 --- a/.shortcuts/start_server +++ b/.shortcuts/start_server @@ -1,5 +1,11 @@ #!/data/data/com.termux/files/usr/bin/env bash +set -euo pipefail +echo "### Current IP confguration" +ip address show dev wlan0 + +echo "### Starting server on port 8080" +echo "Press Ctrl+C to quit" exec /data/data/com.termux/files/home/bin/gziphttp \ --serve-dir /storage/emulated/0/public \ --listen :8080