Remove irc service from avahi
This commit is contained in:
parent
2bce42cb14
commit
913b2387f1
|
@ -1792,17 +1792,6 @@ function configure_avahi {
|
||||||
echo ' </service>' >> /etc/avahi/services/ssh.service
|
echo ' </service>' >> /etc/avahi/services/ssh.service
|
||||||
echo '</service-group>' >> /etc/avahi/services/ssh.service
|
echo '</service-group>' >> /etc/avahi/services/ssh.service
|
||||||
|
|
||||||
# Add an irc service
|
|
||||||
echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->' > /etc/avahi/services/irc.service
|
|
||||||
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">' >> /etc/avahi/services/irc.service
|
|
||||||
echo '<service-group>' >> /etc/avahi/services/irc.service
|
|
||||||
echo ' <name replace-wildcards="yes">%h IRC</name>' >> /etc/avahi/services/irc.service
|
|
||||||
echo ' <service>' >> /etc/avahi/services/irc.service
|
|
||||||
echo ' <type>_irc._tcp</type>' >> /etc/avahi/services/irc.service
|
|
||||||
echo " <port>$IRC_PORT</port>" >> /etc/avahi/services/irc.service
|
|
||||||
echo ' </service>' >> /etc/avahi/services/irc.service
|
|
||||||
echo '</service-group>' >> /etc/avahi/services/irc.service
|
|
||||||
|
|
||||||
# keep the daemon running
|
# keep the daemon running
|
||||||
echo '' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
|
echo '' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
|
||||||
echo '# keep avahi daemon running' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
|
echo '# keep avahi daemon running' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
|
||||||
|
|
Loading…
Reference in New Issue