Rename ipfs avahi service
This commit is contained in:
parent
614906ad05
commit
e8cf91de27
|
@ -573,7 +573,7 @@ function install_ipfs_go {
|
||||||
fi
|
fi
|
||||||
# Add an avahi service
|
# Add an avahi service
|
||||||
function_check create_avahi_service
|
function_check create_avahi_service
|
||||||
create_avahi_service ipfs "ipfs" udp $IPFS_PORT "$IPFS_PEER_ID"
|
create_avahi_service ipfs_id "ipfs_id" 'udp' $IPFS_PORT "$IPFS_PEER_ID:none"
|
||||||
rm /tmp/ipfsid
|
rm /tmp/ipfsid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -815,7 +815,7 @@ function setup_ipfs {
|
||||||
TOX_ID=$(su -c 'toxid' - $MY_USERNAME)
|
TOX_ID=$(su -c 'toxid' - $MY_USERNAME)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
create_avahi_mesh_service "ipfs" "ipfs" "udp" "$IPFS_PORT" "${IPFS_PEER_ID}:${TOX_ID}"
|
create_avahi_mesh_service "ipfs_id" "ipfs_id" "udp" "$IPFS_PORT" "${IPFS_PEER_ID}:${TOX_ID}"
|
||||||
|
|
||||||
echo "IPFS installed with ID ${IPFS_PEER_ID}" >> $INSTALL_LOG
|
echo "IPFS installed with ID ${IPFS_PEER_ID}" >> $INSTALL_LOG
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,7 +116,7 @@ function ipfs_publish {
|
||||||
}
|
}
|
||||||
|
|
||||||
function ipfs_bootstrap {
|
function ipfs_bootstrap {
|
||||||
cat $TEMPFILE_BASE | grep "IPFS\|hostname =\|address =\|port =\|txt =" > $TEMPFILE
|
cat $TEMPFILE_BASE | grep "ipfs_id\|hostname =\|address =\|port =\|txt =" > $TEMPFILE
|
||||||
|
|
||||||
state=0
|
state=0
|
||||||
address=""
|
address=""
|
||||||
|
|
Loading…
Reference in New Issue