aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-05-22 00:58:11 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-05-22 00:58:11 +0000
commita9c84913e92c568ad049572af493263d4533aec4 (patch)
tree079edcda5ea0b0ebd10e3bad34f2f61966d3a657 /Tools
parentd4481261831f1b7f5f1d7595035d70a870c5cd7a (diff)
Cronjob that runs on pointyhat to cleanup stale chroots on clients.
Notes
Notes: svn path=/head/; revision=254768
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/do-cleanup-chroots11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/do-cleanup-chroots b/Tools/portbuild/scripts/do-cleanup-chroots
new file mode 100755
index 000000000000..6ed3cf950eef
--- /dev/null
+++ b/Tools/portbuild/scripts/do-cleanup-chroots
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# clean up stale chroots on all client machines. MCL 20081216.
+#
+# original version from root crontab:
+#
+#/var/portbuild/scripts/allgohans all -q /var/portbuild/scripts/cleanup-chroots
+#
+# new code:
+#
+/var/portbuild/scripts/allgohans.safe all -q /var/portbuild/scripts/cleanup-chroots