Use unmount

This commit is contained in:
Bob Mottram 2015-09-30 21:57:23 +01:00
parent e1db4e0380
commit ab8ec8734d
1 changed files with 3 additions and 1 deletions

View File

@ -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