aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-13 18:19:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-13 18:19:00 +0000
commitc0f99be45dc3b0f0368370814b6776461fa26d06 (patch)
treed4241fd23faa0e5b49ff4dbcd1fa71a6315f23d5
parent6298c0d5ee1b15db361d2fff67e7c7b001bf955c (diff)
downloadpfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.tar.gz
pfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.tar.bz2
pfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.zip
Add CDATA
-rw-r--r--packages/stunnel.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml
index f4d9ba14..4e6795f4 100644
--- a/packages/stunnel.xml
+++ b/packages/stunnel.xml
@@ -122,6 +122,7 @@
<executable>stunnel</executable>
</service>
<custom_add_php_command_late>
+ <![CDATA[
conf_mount_rw();
config_lock();
$fout = fopen("/usr/local/etc/stunnel/stunnel.conf","w");
@@ -158,9 +159,12 @@
fwrite($fout, "/usr/local/sbin/stunnel /usr/local/etc/stunnel/stunnel.conf\n\n");
fclose($fout);
chmod("/usr/local/etc/rc.d/stunnel.sh", 0555);
+ ]]>
</custom_php_install_command>
<custom_php_deinstall_command>
+ <![CDATA[
rmdir_recursive("/var/tmp/stunnel");
rmdir_recursive("/usr/local/etc/stunnel*");
+ ]]>
</custom_php_deinstall_command>
</packagegui>