Changeset 12574f2 for bootscripts/lfs


Ignore:
Timestamp:
10/13/2012 04:14:09 PM (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.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:
85ce884e
Parents:
5cef314
Message:

Add boot/shutdown script customization instructions

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

Location:
bootscripts/lfs
Files:
3 edited

Legend:

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

    r5cef314 r12574f2  
    4747         msg="${msg} file system checks as requested.\n"
    4848         log_info_msg "${msg}"
     49         rm /fastboot
    4950         exit 0
    5051      fi
     
    7475         log_success_msg "$msg"
    7576         options="-f"
     77         rm /forcefsck
    7678      else
    7779         options=""
     
    7981
    8082      log_info_msg "Checking file systems..."
     83     
    8184      # Note: -a option used to be -p; but this fails e.g. on fsck.minix
    82       fsck ${options} -a -A -C -T >/dev/null
     85      if is_true "$VERBOSE_FSCK"; then
     86         fsck ${options} -a -A -C -T
     87      else
     88         fsck ${options} -a -A -C -T >/dev/null
     89      fi
     90
    8391      error_value=${?}
    8492
  • bootscripts/lfs/lib/services/init-functions

    r5cef314 r12574f2  
    345345                        # Check again, and fail if still running
    346346                        kill -0 "${pid}" 2> /dev/null && return 1
    347                     else
    348                         # just check one last time and if still alive, fail
    349                         sleep 1
    350                         kill -0 "${pid}" 2> /dev/null && return 1
    351347                    fi
    352348                fi
  • bootscripts/lfs/sysconfig/rc.site

    r5cef314 r12574f2  
    5151#HEADLESS=yes
    5252
    53 # Skip cleaning /tmp
    54 #SKIPTMPCLEAN=yes
     53# Speed up boot without waiting for settle in udev_retry
     54#OMIT_UDEV_RETRY_SETTLE=yes
     55
     56# Write out fsck progress if yes
     57#VERBOSE_FSCK=no
     58
     59# Speed up boot without waiting for settle in udev
     60#OMIT_UDEV_SETTLE=y
     61
     62# Speed up boot without waiting for settle in udev_retry
     63#OMIT_UDEV_RETRY_SETTLE=yes
     64
     65# Skip cleaning /tmp if yes
     66#SKIPTMPCLEAN=no
    5567
    5668# For setclock
Note: See TracChangeset for help on using the changeset viewer.