From effe3da71d45251ad3a2048dab054b5eb773e99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Sun, 8 Mar 2009 05:30:15 +0000 Subject: Remove the quotes till i find out why they do not work! --- etc/inc/shaper.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc/shaper.inc') diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index b71b986..57ec851 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3235,7 +3235,7 @@ class layer7 { } function delete_l7c() { - $l7pid = `/bin/ps -ax | /usr/bin/grep ipfw-classifyd | /usr/bin/grep ". $l7rules->GetRPort() . " | /usr/bin/grep -v \"grep\" | /usr/bin/awk '{ print $1 }'`; + $l7pid = `/bin/ps -ax | /usr/bin/grep ipfw-classifyd | /usr/bin/grep ". $l7rules->GetRPort() . " | /usr/bin/grep -v grep | /usr/bin/awk '{ print $1 }'`; mwexec("/bin/kill {$l7pid}"); unset_l7_object_by_reference($this->GetRName()); cleanup_l7_from_rules($this->GetRName()); @@ -3368,7 +3368,7 @@ function generate_layer7_files() { if (!empty($layer7_rules_list)) { if (!is_module_loaded("ipdivert.ko")) mwexec("/sbin/kldload ipdivert.ko"); - //mwexec("killall -9 ipfw-classifyd"); + mwexec("rm -f /tmp/*.l7"); } -- cgit v1.1