Fixing zeronet
This commit is contained in:
parent
2d7007c191
commit
fdbfd3834c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue