Skip to content
Snippets Groups Projects
Commit 913b2387 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove irc service from avahi

parent 2bce42cb
No related branches found
No related tags found
No related merge requests found
......@@ -1792,17 +1792,6 @@ function configure_avahi {
echo ' </service>' >> /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
echo '' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
echo '# keep avahi daemon running' >> /usr/bin/$WATCHDOG_SCRIPT_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment