aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradius.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeradius.xml')
-rw-r--r--packages/freeradius.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml
index c69c2371..ba425a95 100644
--- a/packages/freeradius.xml
+++ b/packages/freeradius.xml
@@ -103,7 +103,7 @@
$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");
+ chmod("/usr/local/etc/rc.d/radiusd.sh", 0755);
mwexec("/usr/local/etc/rc.d/radiusd.sh");
</custom_php_install_command>
<custom_php_command_before_form>