Sleep for some time before first running zeronetavahi

This commit is contained in:
Bob Mottram 2015-09-04 12:33:39 +01:00
parent 8b9c885c5a
commit 5f873e6f41
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ if ! grep -q "zeronetavahi" /tmp/crontab; then
echo "* * * * * $MY_USERNAME zeronetavahi > /dev/null" >> /tmp/crontab
fi
sudo cp /tmp/crontab /etc/crontab
sleep 8
zeronetavahi
existing_zeronet=$(ps aux | grep zeronet | wc -l)