mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
16 lines
261 B
Bash
Executable File
16 lines
261 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
|
|
arch=$(cat /etc/arch)
|
|
s=$pb/scripts/reportload
|
|
|
|
if [ -x $s ]; then
|
|
$s ${arch} &
|
|
echo -n ' reportload'
|
|
fi
|