diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-08-12 19:55:10 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-08-12 19:55:10 +0000 |
commit | eb18f5aa2ec351e424c34922b655c0e1a9b359d7 (patch) | |
tree | 4512f62613b47c8dfdfd6ce7db5f5228cd57a757 /bootscripts | |
parent | 5f7456b7b42ed2d048d60e040dcc56885a61c773 (diff) |
Remove the buggy legacy getpids() function. Fixes #2472.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9040 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-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] # |