wok view ventoy/stuff/TazVentoy.sh @ rev 25284
roundup: added BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 16:14:38 2022 +0100 (2022-07-18) |
parents | 8b4c18e6ad16 |
children |
line source
1 #!/bin/sh
3 case "$1" in
4 -*) echo "Usage: $0 [ip] [port]" && exit 1
5 esac
7 [ $(id -u) -ne 0 ] && exec tazbox su $0 $@
9 cd $(dirname $0)
10 HOST="${1:-127.0.0.1}:${2:-24680}"
11 echo -n > log.txt
13 PATH=./tool/i386:$PATH V2DServer ${HOST/:/ } &
14 sleep 1
16 tazweb --notoolbar http://$HOST/ || browser http://$HOST/
17 kill %1