Index page
This commit is contained in:
parent
33f9c434e2
commit
d0dd27ba6c
|
@ -272,6 +272,9 @@ if [ $existing_bttrack -lt "2" ]; then
|
||||||
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
||||||
|
|
||||||
|
sleep 5
|
||||||
zeronetavahi
|
zeronetavahi
|
||||||
|
|
||||||
existing_zeronet=$(ps aux | grep zeronet | wc -l)
|
existing_zeronet=$(ps aux | grep zeronet | wc -l)
|
||||||
|
@ -279,11 +282,10 @@ if [ $existing_zeronet -lt "2" ]; then
|
||||||
python zeronet.py &
|
python zeronet.py &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
|
||||||
if which xdg-open > /dev/null; then
|
if which xdg-open > /dev/null; then
|
||||||
xdg-open file://$ZERONET_INDEX
|
xdg-open $ZERONET_INDEX
|
||||||
elif which gnome-open > /dev/null; then
|
elif which gnome-open > /dev/null; then
|
||||||
gnome-open file://$ZERONET_INDEX
|
gnome-open $ZERONET_INDEX
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue