diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-13 18:19:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-13 18:19:00 +0000 |
commit | c0f99be45dc3b0f0368370814b6776461fa26d06 (patch) | |
tree | d4241fd23faa0e5b49ff4dbcd1fa71a6315f23d5 | |
parent | 6298c0d5ee1b15db361d2fff67e7c7b001bf955c (diff) | |
download | pfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.tar.gz pfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.tar.bz2 pfsense-packages-c0f99be45dc3b0f0368370814b6776461fa26d06.zip |
Add CDATA
-rw-r--r-- | packages/stunnel.xml | 4 |
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> |