freebsd-ports/Tools/portbuild/scripts/reportload.sh
2002-02-11 02:12:22 +00:00

17 lines
272 B
Bash
Executable file

#!/bin/sh
#
# For use on the client. Start the load reporting service at system
# boot time.
if [ "$1" != "start" ]; then exit; fi
pb=/var/portbuild
s=$pb/scripts/reportload
echo -n ' chroot'
rm -rf $pb/*/chroot/*
if [ -x $s ]; then
$s &
echo -n ' reportload'
fi