diff options
Diffstat (limited to 'packages/hula.xml')
-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> |