freebsd-ports/Tools/portbuild/scripts/reportload.sh
Satoshi Asami 15d5069eb1 Delete the chroot dirs before starting the load average reporting
script so that a rebooting machine doesn't join the cluster in an
unclean state.
1999-06-22 06:34:52 +00:00

12 lines
150 B
Bash
Executable file

#!/bin/sh
b=/a/asami/portbuild
s=$b/scripts/reportload
echo -n ' chroot'
rm -rf $b/*/chroot/*
if [ -x $s ]; then
$s &
echo -n ' reportload'
fi