aboutsummaryrefslogtreecommitdiffstats
path: root/config/quagga_ospfd
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-06-11 09:27:28 -0400
committerjim-p <jimp@pfsense.org>2013-06-11 09:27:28 -0400
commit0db05d262ce546590a04ee21230456ac3a98c59e (patch)
tree65842a2ac933571890141ca0d24a857dfc359a9f /config/quagga_ospfd
parent783714c840c66b12f81e754d60b217774ef45295 (diff)
downloadpfsense-packages-0db05d262ce546590a04ee21230456ac3a98c59e.tar.gz
pfsense-packages-0db05d262ce546590a04ee21230456ac3a98c59e.tar.bz2
pfsense-packages-0db05d262ce546590a04ee21230456ac3a98c59e.zip
Escape this $ here.
Diffstat (limited to 'config/quagga_ospfd')
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 84bf8c4d..5e23dbf8 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -248,7 +248,7 @@ function quagga_ospfd_install_conf() {
$carpcheckinterface = trim(find_carp_interface($ospfd_conf['carpstatusip']));
$carp_ip_status_check = <<<EOF
-CARP_STATUS=`/sbin/ifconfig ${carpcheckinterface} | /usr/bin/grep carp: | /usr/bin/awk '{print $2;}'`
+CARP_STATUS=`/sbin/ifconfig ${carpcheckinterface} | /usr/bin/grep carp: | /usr/bin/awk '{print \$2;}'`
if [ \${CARP_STATUS} != "MASTER" ]; then
exit;
fi