aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-05-22 08:58:11 +0800
committerlinimon <linimon@FreeBSD.org>2010-05-22 08:58:11 +0800
commit428601f0658d266d1b3e7c217ea1c3d8b9e9fc7e (patch)
tree48d6ed12f58d7f809400702fdfd1f4000bb9ca51 /Tools
parentddadce15fa1eccb139562339e48cbaa070f61887 (diff)
downloadfreebsd-ports-gnome-428601f0658d266d1b3e7c217ea1c3d8b9e9fc7e.tar.gz
freebsd-ports-gnome-428601f0658d266d1b3e7c217ea1c3d8b9e9fc7e.tar.zst
freebsd-ports-gnome-428601f0658d266d1b3e7c217ea1c3d8b9e9fc7e.zip
Cronjob that runs on pointyhat to cleanup stale chroots on clients.
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