aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradius.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-21 04:41:08 +0000
committerColin Smith <colin@pfsense.org>2005-03-21 04:41:08 +0000
commitedd16b8cf9fd396c03b0add6632986a98eca03f7 (patch)
tree1ca54192008de4832b9c4d0da988fb50fd1956b2 /packages/freeradius.xml
parentc34fb5342a439e59323e34185727f182e52801e2 (diff)
downloadpfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.tar.gz
pfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.tar.bz2
pfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.zip
Use chmod() instead of system() (or equivalent) for all package startup scripts.
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>