Changeset 8e9d4bf


Ignore:
Timestamp:
06/24/2022 02:07:42 PM (7 weeks ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
e4c820ab
Parents:
995347d
git-author:
Xi Ruoyao <xry111@…> (06/23/2022 10:12:37 AM)
git-committer:
William Harrington <kb0iic@…> (06/24/2022 02:07:42 PM)
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

    r995347d r8e9d4bf  
    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

    r995347d r8e9d4bf  
    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.