Changeset bfc6495


Ignore:
Timestamp:
06/23/2022 10:12:37 AM (22 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
dcb4788f, f7c33596, f8b27ab
Parents:
40488bd
Message:

bootscripts: change obsoleted egrep to grep -E

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

Legend:

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

    r40488bd rbfc6495  
    106106      evaluate_retval
    107107
    108       if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
     108      if grep -E -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
    109109         log_info_msg "Creating files and directories... "
    110110         create_files      # Always returns 0
  • bootscripts/lfs/init.d/modules

    r40488bd rbfc6495  
    3636      # valid entries
    3737      [ -r /etc/sysconfig/modules ]             || exit 0
    38       egrep -qv '^($|#)' /etc/sysconfig/modules || exit 0
     38      grep -E -qv '^($|#)' /etc/sysconfig/modules || exit 0
    3939
    4040      log_info_msg "Loading modules:"
Note: See TracChangeset for help on using the changeset viewer.