wok view ventoy/stuff/TazVentoy.sh @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
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