|
@@ -1673,8 +1673,8 @@ function install_zeronet {
|
1673
|
1673
|
chown -R tracker:tracker /opt/tracker
|
1674
|
1674
|
|
1675
|
1675
|
# publish regularly
|
1676
|
|
- if ! grep -Fxq "zeronetavahi" /etc/crontab; then
|
1677
|
|
- echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
|
1676
|
+ if ! grep -q "zeronetavahi" /etc/crontab; then
|
|
1677
|
+ echo "* * * * * root zeronetavahi > /dev/null" >> /etc/crontab
|
1678
|
1678
|
fi
|
1679
|
1679
|
|
1680
|
1680
|
systemctl enable tracker.service
|
|
@@ -8212,8 +8212,8 @@ function tox_avahi {
|
8212
|
8212
|
toxavahi
|
8213
|
8213
|
|
8214
|
8214
|
# publish regularly
|
8215
|
|
- if ! grep -Fxq "toxavahi" /etc/crontab; then
|
8216
|
|
- echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
|
8215
|
+ if ! grep -q "toxavahi" /etc/crontab; then
|
|
8216
|
+ echo "* * * * * root toxavahi > /dev/null" >> /etc/crontab
|
8217
|
8217
|
fi
|
8218
|
8218
|
|
8219
|
8219
|
systemctl restart avahi-daemon
|