Formatting
This commit is contained in:
parent
788e568935
commit
1f7be0efd8
|
@ -8185,7 +8185,7 @@ function tox_avahi {
|
||||||
echo "echo \"<?xml version=\"1.0\" standalone=\"no\"?><!--*-nxml-*-->\" > /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo \"<?xml version=\"1.0\" standalone=\"no\"?><!--*-nxml-*-->\" > /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
echo "echo '<!DOCTYPE service-group SYSTEM \"avahi-service.dtd\">' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo '<!DOCTYPE service-group SYSTEM \"avahi-service.dtd\">' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
echo "echo '<service-group>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo '<service-group>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
echo "echo ' <name replace-wildcards=\"yes\">%h $TOX_ID</name>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo 'echo " <name replace-wildcards=\"yes\">%h $TOX_ID</name>" >> /etc/avahi/services/tox.service' >> /usr/bin/publish-to-avahi
|
||||||
echo "echo ' <service>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo ' <service>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
echo "echo ' <type>_tox._tcp</type>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo ' <type>_tox._tcp</type>' >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
echo "echo \" <port>$TOX_PORT</port>\" >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
echo "echo \" <port>$TOX_PORT</port>\" >> /etc/avahi/services/tox.service" >> /usr/bin/publish-to-avahi
|
||||||
|
@ -8198,7 +8198,7 @@ function tox_avahi {
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
if ! grep -Fxq "publish-to-avahi" /etc/crontab; then
|
if ! grep -Fxq "publish-to-avahi" /etc/crontab; then
|
||||||
echo '* * * * * root /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab
|
echo '* * * * * root /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'tox_avahi' >> $COMPLETION_FILE
|
echo 'tox_avahi' >> $COMPLETION_FILE
|
||||||
|
|
Loading…
Reference in New Issue