diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-08-12 19:56:16 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-08-12 19:56:16 +0000 |
commit | af116fca9d5fb846b54e2cfa8543247d8cd8146f (patch) | |
tree | 1e336b558c99a47618bd8534edb7d655d309580e | |
parent | af8f7091eb74b7dda26365dbe95059c7e7613af2 (diff) |
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
-rw-r--r-- | bootscripts/lfs/init.d/functions | 13 |
1 files changed, 1 insertions, 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] # |