Move to home directory
This commit is contained in:
parent
63b1a9eda6
commit
52e20dd8c4
|
@ -314,7 +314,7 @@ ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
||||||
|
|
||||||
cp /etc/crontab /tmp/crontab
|
cp /etc/crontab /tmp/crontab
|
||||||
if ! grep -q "zeronetavahi" /tmp/crontab; then
|
if ! grep -q "zeronetavahi" /tmp/crontab; then
|
||||||
echo "* * * * * $MY_USERNAME zeronetavahi > /dev/null" >> /tmp/crontab
|
echo "* * * * * $MY_USERNAME cd /home/$MY_USERNAME; zeronetavahi > /dev/null" >> /tmp/crontab
|
||||||
fi
|
fi
|
||||||
sudo cp /tmp/crontab /etc/crontab
|
sudo cp /tmp/crontab /etc/crontab
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue