Ignore:
Timestamp:
02/05/2012 06:05:45 AM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
f365e1e
Parents:
841b723
Message:

Fixes to bootscripts:

  • Remove unneeded function literals.
  • Fix pidlist logic in statusproc.
  • Fix statusproc usage statement.
  • Add nodevtmpfs in mountfs stop.
  • Be consistent wtih #!/bin/sh

Add nodump to xml so command to print out 70-persistent-net.rules
will not be used in jhalfs. Fixes a problem in kvm.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9728 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/lib/services/init-functions

    r841b723 r2f0d64d  
    458458
    459459        if [ "${?}" -eq "0" ]; then
    460             lpids="${pids}${pid} "
     460            lpids="${lpids}${pid} "
    461461        else
    462462            exitstatus="1"
     
    491491
    492492   if [ "${#}" = "0" ]; then
    493       echo "Usage: [-p pidfle] statusproc {program}"
     493      echo "Usage: statusproc [-p pidfle] {program}"
    494494      exit 1
    495495   fi
     
    515515   done
    516516
    517    if [ -z "${pidfile}" ]; then
     517   if [ -n "${pidfile}" ]; then
    518518      pidlist=`pidofproc -p "${pidfile}" $@`
    519519   else
Note: See TracChangeset for help on using the changeset viewer.