Ignore:
Timestamp:
09/15/2021 07:24:40 AM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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, arm, bdubbs/gcc13, 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:
9af096e
Parents:
df1207e (diff), 06e7b361 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into plabs/condxml

File:
1 edited

Legend:

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

    rdf1207e rd4c8dce4  
    2323# Short-Description:   Cleans temporary directories early in the boot process.
    2424# Description:         Cleans temporary directories /run, /var/lock, and
    25 #                      optionally, /tmp.  cleanfs also creates /run/utmp 
     25#                      optionally, /tmp.  cleanfs also creates /run/utmp
    2626#                      and any files defined in /etc/sysconfig/createfiles.
    2727# X-LFS-Provided-By:   LFS
     
    3131
    3232# Function to create files/directory on boot.
    33 create_files() 
     33create_files()
    3434{
    3535   # Input to file descriptor 9 and output to stdin (redirection)
     
    6464                     mknod "${name}" p
    6565                     ;;
    66                   *) 
    67                      log_warning_msg "\nUnknown device type: ${dtype}" 
     66                  *)
     67                     log_warning_msg "\nUnknown device type: ${dtype}"
    6868                     ;;
    6969               esac
    7070               ;;
    7171            *)
    72                log_warning_msg "\nUnknown type: ${type}" 
     72               log_warning_msg "\nUnknown type: ${type}"
    7373               continue
    7474               ;;
     
    8888case "${1}" in
    8989   start)
    90       log_info_msg "Cleaning file systems:" 
     90      log_info_msg "Cleaning file systems:"
    9191
    9292      if [ "${SKIPTMPCLEAN}" = "" ]; then
    93          log_info_msg2 " /tmp" 
     93         log_info_msg2 " /tmp"
    9494         cd /tmp &&
    9595         find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1
Note: See TracChangeset for help on using the changeset viewer.