From a27686574094958e8bec10103e1ffd9ebd58bd60 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 16 Oct 2009 21:55:28 -0400 Subject: Oops, actually write out rc.d file --- config/anyterm/anyterm.xml | 98 ++++++++++++++++++++++++++++++++++++++ config/anyterm/binaries8/anytermd | Bin 0 -> 3156865 bytes config/haproxy/haproxy.inc | 3 ++ 3 files changed, 101 insertions(+) create mode 100644 config/anyterm/anyterm.xml create mode 100755 config/anyterm/binaries8/anytermd (limited to 'config') diff --git a/config/anyterm/anyterm.xml b/config/anyterm/anyterm.xml new file mode 100644 index 00000000..4bd1b445 --- /dev/null +++ b/config/anyterm/anyterm.xml @@ -0,0 +1,98 @@ + + + + + + + + anyterm + 1.0 + anyterm + /pkg_edit.php?xml=anyterm.xml&id=0 + /usr/local/pkg/anyterm.inc + + Anyterm + +
Diagnostics
+ /pkg_edit.php?xml=anyterm.xml&id=0 +
+ + anyterm + anyterm.sh + anytermd + The Reliable, High Performance TCP/HTTP Load Balancer + + installedpackages->anyterm->config + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/anyterm/anyterm.inc + + + + Username + username + Enter the username for Anyterm + input + + + Password + password + Enter the password for Anyterm + password + + + Port + port + Enter the port that Anyterm will listen on. + input + + + + + + + + anyterm_install(); + + + + + anyterm_deinstall(); + + + +
\ No newline at end of file diff --git a/config/anyterm/binaries8/anytermd b/config/anyterm/binaries8/anytermd new file mode 100755 index 00000000..733f7197 Binary files /dev/null and b/config/anyterm/binaries8/anytermd differ diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 2ba3edc1..7968371e 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -86,8 +86,11 @@ run_rc_command "\$1" EOD; + $fd = fopen("/usr/local/etc/rc.d/haproxy.sh"); fwrite($fd, $haproxy); fclose($fd); + exec("chmod a+rx /usr/local/etc/rc.d/haproxy.sh") + conf_mount_ro(); exec("/usr/local/etc/rc.d/haproxy.sh start"); -- cgit v1.2.3