aboutsummaryrefslogtreecommitdiffstats
path: root/packages/hula.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/hula.xml')
-rw-r--r--packages/hula.xml25
1 files changed, 14 insertions, 11 deletions
diff --git a/packages/hula.xml b/packages/hula.xml
index 662d9527..0270e8c5 100644
--- a/packages/hula.xml
+++ b/packages/hula.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
<copyright>
@@ -44,15 +45,12 @@
<description>Describe your package here</description>
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
- <title>Services: Hula</title>
<name>hula</name>
<version>3.0</version>
- <donotsave>true</donotsave>
- <preoutput>yes</preoutput>
+ <title>Services: Hula</title>
<savetext>Change</savetext>
- <additional_files_needed>
- <item>http://www.pfsense.com/packages/All/hula.tgz</item>
- </additional_files_needed>
+ <preoutput>yes</preoutput>
+ <donotsave>true</donotsave>
<!-- Menu is where this packages menu will appear -->
<menu>
<name>Hula Setup</name>
@@ -72,6 +70,11 @@
<section>Services</section>
<url>http://$myurl:8080</url>
</menu>
+
+ <additional_files_needed>
+ <item>http://www.pfsense.com/packages/All/hula.tgz</item>
+ </additional_files_needed>
+
<!-- Do not save invokes a simple input menu and will not update
the configuration database. -->
<fields>
@@ -90,11 +93,6 @@
conf_mount_ro();
config_unlock();
</custom_add_php_command>
- <custom_php_deinstall_command>
- mwexec("/usr/bin/killall -9 hulamanager");
- rmdir_recursive("/usr/local/hula");
- unlink_if_exists("/usr/local/etc/rc.d/hula.sh");
- </custom_php_deinstall_command>
<custom_php_install_command>
$fout = fopen("/usr/local/etc/rc.d/hula.sh","w");
fwrite($fout, "#!/bin/sh\n\n");
@@ -103,4 +101,9 @@
fclose($fout);
chmod("/usr/local/etc/rc.d/hula.sh", 0755);
</custom_php_install_command>
+ <custom_php_deinstall_command>
+ mwexec("/usr/bin/killall -9 hulamanager");
+ rmdir_recursive("/usr/local/hula");
+ unlink_if_exists("/usr/local/etc/rc.d/hula.sh");
+ </custom_php_deinstall_command>
</packagegui>