From e392931d4d1cd34ec2603c78f8c7b48782c10a4e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 3 Feb 2009 05:01:37 +0000 Subject: Move delte function to xml to avoid error --- packages/avahi/avahi.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'packages/avahi') diff --git a/packages/avahi/avahi.xml b/packages/avahi/avahi.xml index b603f61b..6baef60b 100644 --- a/packages/avahi/avahi.xml +++ b/packages/avahi/avahi.xml @@ -77,16 +77,14 @@ - require_once("avahi.inc"); setup_avahi(); - require_once("avahi.inc"); setup_avahi(); - require_once("avahi.inc"); - delete_avahi(); + unlink_if_exists("/usr/local/etc/rc.d/avahi-daemon.sh"); + exec("killall avahi-daemon"); /usr/local/pkg/avahi.inc -- cgit v1.2.3