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

Only create the avahi webamin config if it doesn't exist

parent 1aee7304
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
function web_admin_avahi {
if [ -f /etc/avahi/services/webadmin.service ]; then
return
fi
{ echo '<?xml version="1.0" standalone="no"?><!--*-nxml-*-->';
echo '<!DOCTYPE service-group SYSTEM "avahi-service.dtd">';
echo '<service-group>';
......
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