summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-06 19:40:51 -0500
committersullrich <sullrich@pfsense.org>2009-12-06 19:40:51 -0500
commit8713bf55a8da0f5479b200f56fc5a9ddc7b82f30 (patch)
tree5a6aaa295f413a46b1a0abe8655682f3efb5c16e /etc
parentfe144dc1662c15c384a587a4f69af96513127d4c (diff)
downloadpfsense-8713bf55a8da0f5479b200f56fc5a9ddc7b82f30.zip
pfsense-8713bf55a8da0f5479b200f56fc5a9ddc7b82f30.tar.gz
Do not include grep
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 16f4941..42ac743 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -39,7 +39,7 @@
*/
function services_parse_dhcpd_hostnames() {
- exec("kill `ps awux | grep isc | grep parse | awk '{ print $2 }'`");
+ exec("kill `ps awux | grep isc | grep -v grep | grep parse | awk '{ print $2 }'`");
mwexec_bg("sh /etc/rc.parse-isc-dhcpd");
}
OpenPOWER on IntegriCloud