aboutsummaryrefslogtreecommitdiffstats
path: root/packages/stunnel.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/stunnel.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/stunnel.xml')
-rw-r--r--packages/stunnel.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml
index 581c5971..0ce73997 100644
--- a/packages/stunnel.xml
+++ b/packages/stunnel.xml
@@ -80,7 +80,7 @@
system("mkdir -p /var/tmp/stunnel/var/tmp");
system("chmod a+rw /var/tmp/stunnel/var/tmp/.");
system("mv /usr/local/etc/rc.d/stunnel.sh.sample /usr/local/etc/rc.d/stunnel.sh");
- system("chmod 555 /usr/local/etc/rc.d/stunnel.sh");
+ chmod("/usr/local/etc/rc.d/stunnel.sh", 0555);
</custom_php_install_command>
<custom_php_deinstall_command>
rmdir_recursive("/var/tmp/stunnel");