From af116fca9d5fb846b54e2cfa8543247d8cd8146f Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 12 Aug 2009 19:56:16 +0000 Subject: [PATCH] Remove the buggy legacy getpids() function. Fixes #2472. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.5/BOOK@9041 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/init.d/functions | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bootscripts/lfs/init.d/functions b/bootscripts/lfs/init.d/functions index 4c883b31b..77d3e5cfe 100644 --- a/bootscripts/lfs/init.d/functions +++ b/bootscripts/lfs/init.d/functions @@ -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] #