summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro.local>2009-05-18 01:16:05 -0400
committerChris Buechler <cmb@cmb-macbook-pro.local>2009-05-18 01:16:05 -0400
commiteccd381329417761e48c163c89122d7c608f7047 (patch)
tree248b894d428bd76c08caf0b1e7d31327b89d2b50 /etc/inc/pfsense-utils.inc
parent42cf9c5cb8e54f792c0b78520e67ff2867cb35da (diff)
downloadpfsense-eccd381329417761e48c163c89122d7c608f7047.zip
pfsense-eccd381329417761e48c163c89122d7c608f7047.tar.gz
Kill rrdtool before killing updaterrd, possibly prevent multiple updaterrd from running.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 0988949..f9275e0 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -3399,7 +3399,8 @@ function enable_rrd_graphing() {
}
function kill_traffic_collector() {
- mwexec("ps awwwux | grep '/[u]pdaterrd.sh' | awk '{print $2}' | xargs kill");
+ mwexec("/usr/bin/killall -9 rrdtool");
+ mwexec("ps awwwux | grep '/[u]pdaterrd.sh' | awk '{print $2}' | xargs kill -9");
}
function update_filter_reload_status($text) {
OpenPOWER on IntegriCloud