diff options
-rw-r--r-- | packages/freeradius.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml index d646cedb..44fca307 100644 --- a/packages/freeradius.xml +++ b/packages/freeradius.xml @@ -66,12 +66,12 @@ fclose($fout); mwexec("rm /usr/local/etc/rc.d/radiusd*"); $fout = fopen("/usr/local/etc/rc.d/radiusd.sh","w"); - fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/radiusd -X -d /usr/local/etc/raddb\n"); + fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/radiusd -X -d /usr/local/etc/raddb &\n"); fclose($fout); $fout = fopen("/usr/local/etc/radiusd.conf.dynamic","w"); fwrite($fout, "{\nipaddr = 127.0.0.1\nport = 0\ntype = auth\n}\n\n"); fclose($fout); - mwexec("chmod a+x /usr/local/etc/rc.d/radiusd.sh &"); + mwexec("chmod a+x /usr/local/etc/rc.d/radiusd.sh"); mwexec("/usr/local/etc/rc.d/radiusd.sh"); </custom_php_install_command> <custom_php_command_before_form> |