# HG changeset patch # User Augie Fackler # Date 1767485536 18000 # Node ID dbb75edda2ff0fd64eb8b90b34fd5d1b9cca0859 # Parent 245dd5f2959266a43ed0c14ff08ae223b6fa583a cleanup: remove ancient distnoted reaper script Surely this bug has been fixed in the 9+ years that the script has been run once a minute by cron on my laptop. To my surprise, it looks like the Migration Assistant even managed to carry it across laptops! diff --git a/unixSoft/otherbin/distnoted-reaper.sh b/unixSoft/otherbin/distnoted-reaper.sh deleted file mode 100755 --- a/unixSoft/otherbin/distnoted-reaper.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# -# check for runaway distnoted, kill if necessary -# -PATH=/bin:/usr/bin -export PATH - -ps -reo '%cpu,uid,pid,command' | - awk -v UID=$UID ' - /distnoted agent$/ && $1 > 100.0 && $2 == UID { - system("kill -9 " $3) - } - '