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