diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-28 23:16:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-28 23:16:49 +0000 |
commit | 2e9a34963bc8e6f986aa4932e18944e8af5759c7 (patch) | |
tree | 664effc41a52ea34162b6165b3fd8e852696ab81 /packages | |
parent | 6228aca2cc578a1b31e38ee4fb1176505cac3447 (diff) | |
download | pfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.tar.gz pfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.tar.bz2 pfsense-packages-2e9a34963bc8e6f986aa4932e18944e8af5759c7.zip |
No need to setup hula.sh twice.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/hula.xml | 7 |
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 &\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 &"); conf_mount_ro(); config_unlock(); </custom_add_php_command> |