Browse Source

Open in a browser

Bob Mottram 10 years ago
parent
commit
9fad9e604f
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      src/freedombone-meshweb

+ 7
- 1
src/freedombone-meshweb View File

304
     python zeronet.py &
304
     python zeronet.py &
305
 fi
305
 fi
306
 
306
 
307
-if which xdg-open > /dev/null; then
307
+if which firefox > /dev/null; then
308
+    firefox $ZERONET_INDEX
309
+elif which chrome > /dev/null; then
310
+    chrome $ZERONET_INDEX
311
+elif which chromium > /dev/null; then
312
+    chromium $ZERONET_INDEX
313
+elif which xdg-open > /dev/null; then
308
     xdg-open $ZERONET_INDEX
314
     xdg-open $ZERONET_INDEX
309
 elif which gnome-open > /dev/null; then
315
 elif which gnome-open > /dev/null; then
310
     gnome-open $ZERONET_INDEX
316
     gnome-open $ZERONET_INDEX