Skip to content
Snippets Groups Projects
Commit d0dd27ba authored by Bob Mottram's avatar Bob Mottram
Browse files

Index page

parent 33f9c434
No related branches found
No related tags found
No related merge requests found
......@@ -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 &
fi
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
sleep 5
zeronetavahi
existing_zeronet=$(ps aux | grep zeronet | wc -l)
......@@ -279,11 +282,10 @@ if [ $existing_zeronet -lt "2" ]; then
python zeronet.py &
fi
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
if which xdg-open > /dev/null; then
xdg-open file://$ZERONET_INDEX
xdg-open $ZERONET_INDEX
elif which gnome-open > /dev/null; then
gnome-open file://$ZERONET_INDEX
gnome-open $ZERONET_INDEX
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment