From eb18f5aa2ec351e424c34922b655c0e1a9b359d7 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Wed, 12 Aug 2009 19:55:10 +0000 Subject: [PATCH] Remove the buggy legacy getpids() function. Fixes #2472. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9040 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] #