Ignore:
Timestamp:
Sep 24, 2006, 12:22:14 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
576135a
Parents:
040521bc
Message:

Readded Bootlog to bootscripts

File:
1 edited

Legend:

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

    r040521bc r8953f24  
    128128        # Reset STRING_LENGTH for next message
    129129        STRING_LENGTH="0"
     130        if [ "$LOGGING" ]; then
     131                boot_log "${BOOTMESG}${@}"
     132        fi
    130133}
    131134
    132135boot_log()
    133136{
    134         # Left in for backwards compatibility
    135         echo -n ""
     137        if [ "$LOGGING" ]; then
     138                /bin/logger -p local2.info -t bootlog "${@}"
     139        else
     140                return 0
     141        fi
    136142}
    137143
     
    197203        boot_mesg -n "If you're able to track this"
    198204        boot_mesg -n " error down to a bug in one of the files provided by"
    199         boot_mesg -n " the LFS book, please be so kind to inform us at"
    200         boot_mesg " lfs-dev@linuxfromscratch.org.\n"
     205        boot_mesg -n " the CLFS book, please be so kind to inform us at"
     206        boot_mesg " clfs-dev@cross-lfs.org.\n"
    201207        boot_mesg_flush
    202208        if [ "$INTERACTIVE" ]; then
     
    452458}
    453459
    454 # This will ensure compatibility with previous LFS Bootscripts
     460# This will ensure compatibility with previous CLFS Bootscripts
    455461getpids()
    456462{
     
    494500        local nicelevel="10"
    495501
    496 # This will ensure compatibility with previous LFS Bootscripts
     502# This will ensure compatibility with previous CLFS Bootscripts
    497503        if [ -n "${PIDFILE}" ]; then
    498504                pidfile="${PIDFILE}"
     
    586592        pidlist=""
    587593
    588 # This will ensure compatibility with previous LFS Bootscripts
     594# This will ensure compatibility with previous CLFS Bootscripts
    589595        if [ -n "${PIDFILE}" ]; then
    590596                pidfile="${PIDFILE}"
Note: See TracChangeset for help on using the changeset viewer.