Add -a to include all updaterrd.sh scripts running and also remove top killing since its not used anymore in stat gathering.

This commit is contained in:
Ermal 2011-04-04 10:24:57 +00:00
parent d7f4030ad8
commit 056df2d9f0

View File

@ -811,9 +811,8 @@ function enable_rrd_graphing() {
}
function kill_traffic_collector() {
mwexec("killall top", true);
mwexec("killall rrdtool", true);
mwexec("/bin/pkill -f updaterrd.sh", true);
mwexec("/bin/pkill -a -f updaterrd.sh", true);
}
?>