aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-28 23:16:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-28 23:16:49 +0000
commit2e9a34963bc8e6f986aa4932e18944e8af5759c7 (patch)
tree664effc41a52ea34162b6165b3fd8e852696ab81
parent6228aca2cc578a1b31e38ee4fb1176505cac3447 (diff)
downloadpfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.tar.gz
pfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.tar.bz2
pfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.zip
No need to setup hula.sh twice.
-rw-r--r--packages/hula.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/hula.xml b/packages/hula.xml
index 9af46eb2..f0870ae2 100644
--- a/packages/hula.xml
+++ b/packages/hula.xml
@@ -41,13 +41,8 @@
<custom_add_php_command>
conf_mount_rw();
config_lock();
- $fout = fopen("/usr/local/etc/rc.d/hula.sh","w");
- fwrite($fout, "#!/bin/sh\n\n");
- fwrite($fout, "/usr/local/hula/sbin/hulamanager &amp;\n");
- fclose($fout);
- system("chmod 555 /usr/local/etc/rc.d/hula.sh");
system("/usr/local/hula/sbin/hulasetup --domain=" . $_POST['domain']);
- system("/usr/local/etc/rc.d/hula.sh");
+ system("/usr/local/etc/rc.d/hula.sh &amp;");
conf_mount_ro();
config_unlock();
</custom_add_php_command>