path: boinc_8.2.8+dfsg-1/client/scripts/boinc-client.in
# check if we have pidof.  If not use ps and grep for the same job.
if [ -x /sbin/pidof ] ; then
  function local_pidof() {
    pidof -s -x -o $$ -o $PPID -o %PPID $1
  }
