diff options
Diffstat (limited to 'packages/avahi')
-rw-r--r-- | packages/avahi/avahi.xml | 6 |
1 files changed, 2 insertions, 4 deletions
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 @@ </field> </fields> <custom_add_php_command> - require_once("avahi.inc"); setup_avahi(); </custom_add_php_command> <custom_php_install_command> - require_once("avahi.inc"); setup_avahi(); </custom_php_install_command> <custom_php_deinstall_command> - require_once("avahi.inc"); - delete_avahi(); + unlink_if_exists("/usr/local/etc/rc.d/avahi-daemon.sh"); + exec("killall avahi-daemon"); </custom_php_deinstall_command> <include_file>/usr/local/pkg/avahi.inc</include_file> </packagegui> |