mirror of
https://github.com/Luzifer/termux-cfg.git
synced 2024-11-08 14:30:00 +00:00
Add IP output for start_server
This commit is contained in:
parent
3b5183931f
commit
a0372fbc4a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue