wok-6.x view ventoy/stuff/TazVentoy.sh @ rev 25407
updated wayland and wayland-dev (1.4.0 -> 1.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 03 16:34:53 2022 +0100 (2022-08-03) |
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