Remove the buggy legacy getpids() function. Fixes #2472.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9040 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2009-08-12 19:55:10 +00:00
parent 5f7456b7b4
commit eb18f5aa2e

View File

@ -399,7 +399,7 @@ statusproc()
# Dependencies: pidof, echo, head
#
# Todo: Remove dependency on head
# This depreciates getpids
# This replaces getpids
# Test changes to pidof
#
#*******************************************************************************
@ -483,17 +483,6 @@ pidofproc()
fi
}
# This will ensure compatibility with previous LFS Bootscripts
getpids()
{
if [ -z "${PIDFILE}" ]; then
pidofproc -s -p "${PIDFILE}" $@
else
pidofproc -s $@
fi
base="${1##*/}"
}
#*******************************************************************************
# Function - loadproc [-f] [-n nicelevel] [-p pidfile] pathname [args]
#