wok view ventoy/stuff/TazVentoy.sh @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (2022-06-13)
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