Use unmount
This commit is contained in:
parent
e1db4e0380
commit
ab8ec8734d
|
@ -390,7 +390,9 @@ fi
|
||||||
|
|
||||||
existing_ipfs=$(ps aux | grep ipfs | wc -l)
|
existing_ipfs=$(ps aux | grep ipfs | wc -l)
|
||||||
if [ $existing_ipfs -lt "2" ]; then
|
if [ $existing_ipfs -lt "2" ]; then
|
||||||
ipfs daemon &
|
sudo umount /ipfs
|
||||||
|
sudo umount /ipns
|
||||||
|
ipfs daemon --mount &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
||||||
|
|
Loading…
Reference in New Issue