wok-6.x view ventoy/stuff/TazVentoy.sh @ rev 24575
updated fsarchiver (0.8.5 -> 0.8.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:36:21 2022 +0100 (2022-02-27) |
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