Add freeze, frozen_shell, hcoop-kprop.
[clinton/scripts.git] / hcoop-kprop
diff --git a/hcoop-kprop b/hcoop-kprop
new file mode 100755 (executable)
index 0000000..71d7850
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash -e
+
+#
+# It is important that admins receieve notification of any errors that
+# occur when running this; please don't indiscriminately send logs to
+# /dev/null.
+#
+
+export PATH=$PATH:/usr/sbin:/sbin
+
+kdb5_util dump /var/lib/krb5kdc/slave_datatrans
+kprop krunk.hcoop.net \
+   2>&1 | grep -v 'Database propagation to krunk.hcoop.net: SUCCEEDED'
+
+