Changeset af116fc


Ignore:
Timestamp:
08/12/2009 07:56:16 PM (15 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
6.5
Children:
097d2ae
Parents:
af8f709
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/functions

    raf8f709 raf116fc  
    400400#
    401401# Todo: Remove dependency on head
    402 #       This depreciates getpids
     402#       This replaces getpids
    403403#       Test changes to pidof
    404404#
     
    482482                return 3 # Program is not running
    483483        fi
    484 }
    485 
    486 # This will ensure compatibility with previous LFS Bootscripts
    487 getpids()
    488 {
    489         if [ -z "${PIDFILE}" ]; then
    490                 pidofproc -s -p "${PIDFILE}" $@
    491         else
    492                 pidofproc -s $@
    493         fi
    494         base="${1##*/}"
    495484}
    496485
Note: See TracChangeset for help on using the changeset viewer.