diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-02-03 05:01:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-02-03 05:01:37 +0000 |
commit | e392931d4d1cd34ec2603c78f8c7b48782c10a4e (patch) | |
tree | bf78124748bc452dd7fc99e09edacd7352abc116 /packages/avahi | |
parent | 0a65abbbe3934f2d5517bdf784169b56e5d363bd (diff) | |
download | pfsense-packages-e392931d4d1cd34ec2603c78f8c7b48782c10a4e.tar.gz pfsense-packages-e392931d4d1cd34ec2603c78f8c7b48782c10a4e.tar.bz2 pfsense-packages-e392931d4d1cd34ec2603c78f8c7b48782c10a4e.zip |
Move delte function to xml to avoid error
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> |