Changeset 0af8f100 for bootscripts/lfs


Ignore:
Timestamp:
08/03/2011 12:56:07 PM (13 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.0, 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:
215ccb5a
Parents:
20aebf53
Message:

Minor corrections to bootscripts

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

Location:
bootscripts/lfs/init.d
Files:
2 edited

Legend:

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

    r20aebf53 r0af8f100  
    124124
    125125   # Log the message
     126   [ -d /run/var ] || return
    126127   ${ECHO} ${ECHOPARM} -e "${2}${1}" >> /run/var/bootlog
    127128}
     
    139140   boot_mesg_flush
    140141
     142   [ -d /run/var ] || return
    141143   ${ECHO} -e "[ OK ]" >> /run/var/bootlog
    142144}
     
    148150    boot_mesg_flush
    149151
     152   [ -d /run/var ] || return
    150153   ${ECHO} -e "[ FAIL]"  >> /run/var/bootlog
    151154}
     
    157160   boot_mesg_flush
    158161
     162   [ -d /run/var ] || return
    159163   ${ECHO} -e "[ WARN ]"  >> /run/var/bootlog
    160164}
     
    166170   boot_mesg_flush
    167171
     172   [ -d /run/var ] || return
    168173   ${ECHO} -e "  [ SKIP ]" >> /run/var/bootlog
    169174}
     
    715720   ${ECHO} -e "${SET_COL}""${BRACKET}""[""${SUCCESS}""  OK  ""${BRACKET}""]""${NORMAL}"
    716721
     722   [ -d /run/var ] || return 0
    717723   ${ECHO} -n -e "${@}  [ OK ]"  >> /run/var/bootlog
    718724   return 0
     
    737743   ${ECHO} -e "${SET_COL}""${BRACKET}""[""${FAILURE}"" FAIL ""${BRACKET}""]""${NORMAL}"
    738744
     745   [ -d /run/var ] || return 0
    739746   ${ECHO} -e "${@}  [ FAIL ]" >> /run/var/bootlog
    740747   return 0
     
    759766   ${ECHO} -e "${SET_COL}""${BRACKET}""[""${WARNING}"" WARN ""${BRACKET}""]""${NORMAL}"
    760767
     768   [ -d /run/var ] || return 0
    761769   ${ECHO} -e "${@}  [ WARN ]" >> /run/var/bootlog
    762770   return 0
     
    781789   ${ECHO} -e "${SET_COL}""${BRACKET}""[""${WARNING}"" SKIP ""${BRACKET}""]""${NORMAL}"
    782790
     791   [ -d /run/var ] || return 0
    783792   ${ECHO} -e "${@}  [ SKIP ]" >> /run/var/bootlog
    784793   return 0
  • bootscripts/lfs/init.d/sysklogd

    r20aebf53 r0af8f100  
    3131   start)
    3232      boot_mesg "Starting system log daemon..."
    33       PARMS=${SYSKLOGD_PARMS=-'-m 0'}
     33      PARMS=${SYSKLOGD_PARMS-'-m 0'}
    3434      loadproc syslogd $PARMS
    3535
Note: See TracChangeset for help on using the changeset viewer.