IPFS port

This commit is contained in:
Bob Mottram 2015-09-30 20:46:18 +01:00
parent 0ab2d31fe1
commit 43eda2c774
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ TOX_USERS_FILE=$ZERONET_INSTALL/freedombone-tox-users
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
ZERONET_CONFIG=$ZERONET_INSTALL/bootstrap ZERONET_CONFIG=$ZERONET_INSTALL/bootstrap
IPFS_PORT=4001
function create_index { function create_index {
if [ -f $ZERONET_INDEX ]; then if [ -f $ZERONET_INDEX ]; then
sed -i "s|.*My Blog.*| <li><a href=\"$(cat /home/$MY_USERNAME/.config/zeronet/myblog)\">My Blog</a></li>|g" $ZERONET_INDEX sed -i "s|.*My Blog.*| <li><a href=\"$(cat /home/$MY_USERNAME/.config/zeronet/myblog)\">My Blog</a></li>|g" $ZERONET_INDEX