Skip to content
Snippets Groups Projects
Commit 2479abfe authored by Bob Mottram's avatar Bob Mottram
Browse files

Add cron job for zeronet bootstrap

parent 081676f3
No related branches found
No related tags found
No related merge requests found
......@@ -281,7 +281,11 @@ fi
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
sleep 5
cp /etc/crontab /tmp/crontab
if ! grep -q "zeronetavahi" /tmp/crontab; then
echo "* * * * * $MY_USERNAME zeronetavahi > /dev/null" >> /tmp/crontab
fi
sudo cp /tmp/crontab /etc/crontab
zeronetavahi
existing_zeronet=$(ps aux | grep zeronet | wc -l)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment