diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-13 21:10:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-13 21:10:29 +0000 |
commit | 2720e79afd5bb7af53a08223a54c5f6e56132a97 (patch) | |
tree | 798f5a30fc0474c3660497d7d96bcb9cabc620f7 /packages/squidGuard.xml | |
parent | a4df57f623170025b6245f454d51bd237e46e2a1 (diff) | |
download | pfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.tar.gz pfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.tar.bz2 pfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.zip |
Escape sed variables so php doesnt try to convert them.
Diffstat (limited to 'packages/squidGuard.xml')
-rw-r--r-- | packages/squidGuard.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml index 43ed3c3a..0e896828 100644 --- a/packages/squidGuard.xml +++ b/packages/squidGuard.xml @@ -33,9 +33,9 @@ <custom_php_pre_deinstall_command> </custom_php_pre_deinstall_command> <custom_php_deinstall_command> - mwexec("/usr/bin/sed '$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf"); + mwexec("/usr/bin/sed '\$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf"); mwexec("/bin/cp /tmp/squidtmp.conf /usr/local/etc/squid/squid.conf"); - mwexec("/usr/bin/sed '$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf"); + mwexec("/usr/bin/sed '\$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf"); mwexec("/bin/cp /tmp/squidtmp.conf /usr/local/etc/squid/squid.conf"); mwexec("/bin/rm /tmp/squidtmp.conf"); mwexec("/bin/rm -rf /var/db/squidGuard"); |