changeset 530:dbb75edda2ff default tip

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!
author Augie Fackler <raf@durin42.com>
date Sat, 03 Jan 2026 19:12:16 -0500
parents 245dd5f29592
children
files unixSoft/otherbin/distnoted-reaper.sh
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
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)
-    }
-    '