Explorar el Código

Remove the buggy legacy getpids() function. Fixes #2472.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9040 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 16 años
padre
commit
eb18f5aa2e
Se han modificado 1 ficheros con 1 adiciones y 12 borrados
  1. 1 12
      bootscripts/lfs/init.d/functions

+ 1 - 12
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]
 #