From 9fad9e604fd4252bcda4c9b69c4118c276469ee2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 3 Sep 2015 18:50:29 +0100 Subject: [PATCH] Open in a browser --- src/freedombone-meshweb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedombone-meshweb b/src/freedombone-meshweb index 5e0cc16d..ad9e983f 100755 --- a/src/freedombone-meshweb +++ b/src/freedombone-meshweb @@ -304,7 +304,13 @@ if [ $existing_zeronet -lt "2" ]; then python zeronet.py & fi -if which xdg-open > /dev/null; then +if which firefox > /dev/null; then + firefox $ZERONET_INDEX +elif which chrome > /dev/null; then + chrome $ZERONET_INDEX +elif which chromium > /dev/null; then + chromium $ZERONET_INDEX +elif which xdg-open > /dev/null; then xdg-open $ZERONET_INDEX elif which gnome-open > /dev/null; then gnome-open $ZERONET_INDEX