Author: matthew
Date: 2009-08-12 13:55:10 -0600 (Wed, 12 Aug 2009)
New Revision: 9040

Modified:
   trunk/BOOK/bootscripts/lfs/init.d/functions
Log:
Remove the buggy legacy getpids() function. Fixes #2472.

Modified: trunk/BOOK/bootscripts/lfs/init.d/functions
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/functions 2009-08-12 19:40:25 UTC (rev 
9039)
+++ trunk/BOOK/bootscripts/lfs/init.d/functions 2009-08-12 19:55:10 UTC (rev 
9040)
@@ -399,7 +399,7 @@
 # Dependencies: pidof, echo, head
 #
 # Todo: Remove dependency on head
-#       This depreciates getpids
+#       This replaces getpids
 #       Test changes to pidof
 #
 
#*******************************************************************************
@@ -483,17 +483,6 @@
        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]
 #

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to