diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 00:44:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 00:44:59 +0000 |
commit | 36ff9915482e517725f84fd28eacd15672c43fa8 (patch) | |
tree | 0151712147162c06cdecedca0e1917c5180cb292 /packages | |
parent | af2163237ed5792081fe0b7cb684288589ce07cf (diff) | |
download | pfsense-packages-36ff9915482e517725f84fd28eacd15672c43fa8.tar.gz pfsense-packages-36ff9915482e517725f84fd28eacd15672c43fa8.tar.bz2 pfsense-packages-36ff9915482e517725f84fd28eacd15672c43fa8.zip |
Create /var/tmp/stunnel
Ticket #276
Diffstat (limited to 'packages')
-rw-r--r-- | packages/stunnel.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml index 8b2ba38d..0b745c48 100644 --- a/packages/stunnel.xml +++ b/packages/stunnel.xml @@ -75,7 +75,7 @@ safe_mkdir("/usr/local/etc/stunnel"); system("/usr/bin/openssl req -new -x509 -days 365 -nodes -out /usr/local/etc/stunnel/stunnel.pem -keyout /usr/local/etc/stunnel/stunnel.pem 2>/dev/null"); chmod("/usr/local/etc/stunnel/stunnel.pem", 600); - make_dirs("/var/tmp/stunnel/var/tmp"); + system("mkdir /var/tmp/stunnel; mkdir /var/tmp/stunnel/var; mkdir /var/tmp/stunnel/var/tmp; chown -R stunnel:stunnel /var/tmp/stunnel"); chmod("/var/tmp/stunnel/var/tmp/", 1777); $fout = fopen("/usr/local/etc/rc.d/stunnel.sh","w"); fwrite($fout, "#!/bin/sh\n"); |