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

Fixing zeronet

parent 2d7007c1
No related branches found
No related tags found
No related merge requests found
......@@ -375,7 +375,7 @@ if [ ! $peer_index ]; then
fi
if [[ $peer_index == 1 ]]; then
cd ZERONET_DIR
cd $ZERONET_DIR
zeronetavahi
python zeronet.py &
if which xdg-open > /dev/null; then
......
......@@ -44,7 +44,7 @@ if [ ! -d /etc/avahi ]; then
fi
TEMPFILE=/tmp/tmpzeronetavahi.txt
avahi-browse -atrl | grep "Workstation\|hostname =\|address =\|port =" > $TEMPFILE
avahi-browse -atr | grep "Workstation\|hostname =\|address =\|port =" > $TEMPFILE
if [ ! -f $TEMPFILE ]; then
exit 1
fi
......
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