1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
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

13 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