Changeset bfc6495


Ignore:
Timestamp:
06/23/2022 10:12:37 AM (7 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
multilib, s6-init, trunk, xry111/clfs-ng
Children:
dcb4788f, f7c3359, 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.