aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/assp.xml')
-rw-r--r--packages/assp.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/assp.xml b/packages/assp.xml
new file mode 100644
index 00000000..37de3548
--- /dev/null
+++ b/packages/assp.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<packagegui>
+ <title>Services: ASSP</title>
+ <name>assp</name>
+ <version>0.1.0</version>
+ <!-- Menu is where this packages menu will appear -->
+ <menu>
+ <name>ASSP</name>
+ <tooltiptext>Access ASSP</tooltiptext>
+ <url>http://$myurl:55555</url>
+ <section>Services</section>
+ </menu>
+ <additional_files_needed>
+ <item>http://www.pfsense.com/packages/All/assp-1.0.tgz</item>
+ </additional_files_needed>
+ <custom_php_install_command>
+ $fout = fopen("/usr/local/etc/rc.d/assp.sh","w");
+ fwrite($fout, "#!/bin/sh\n\n");
+ fwrite($fout, "\n# This file was automatically generated by the pfSense");
+ fwrite($fout, "\n# package management system");
+ fwrite($fout, "/usr/bin/perl /usr/local/assp/assp.pl &amp;\n\n");
+ fclose($fout);
+ system("chmod 555 /usr/local/etc/rc.d/assp.sh");
+ </custom_php_install_command>
+</packagegui> \ No newline at end of file