Fix mesh crontab entries
This commit is contained in:
parent
195735cc51
commit
2a86dc2e72
|
@ -1673,7 +1673,7 @@ function install_zeronet {
|
||||||
chown -R tracker:tracker /opt/tracker
|
chown -R tracker:tracker /opt/tracker
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
if ! grep -Fxq "zeronetavahi" /etc/crontab; then
|
if ! grep -q "zeronetavahi" /etc/crontab; then
|
||||||
echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -8212,7 +8212,7 @@ function tox_avahi {
|
||||||
toxavahi
|
toxavahi
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
if ! grep -Fxq "toxavahi" /etc/crontab; then
|
if ! grep -q "toxavahi" /etc/crontab; then
|
||||||
echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue