|
@@ -399,7 +399,7 @@ statusproc()
|
|
# Dependencies: pidof, echo, head
|
|
# Dependencies: pidof, echo, head
|
|
#
|
|
#
|
|
# Todo: Remove dependency on head
|
|
# Todo: Remove dependency on head
|
|
-# This depreciates getpids
|
|
|
|
|
|
+# This replaces getpids
|
|
# Test changes to pidof
|
|
# Test changes to pidof
|
|
#
|
|
#
|
|
#*******************************************************************************
|
|
#*******************************************************************************
|
|
@@ -483,17 +483,6 @@ pidofproc()
|
|
fi
|
|
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]
|
|
# Function - loadproc [-f] [-n nicelevel] [-p pidfile] pathname [args]
|
|
#
|
|
#
|