instmods: get filenames from stdin if no args; use it
authorJohn Reiser <jreiser@BitWagon.com>
Mon, 29 Aug 2011 20:40:21 +0000 (13:40 -0700)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Sep 2011 08:30:29 +0000 (10:30 +0200)
commit881eda695ed552474b9d1e5befe084d7bfab3d50
tree107428aa600b050ff14f819c01118f8f6066a125
parente6024e0030bcf35b0f0c97cdc6f259711536459b
instmods: get filenames from stdin if no args; use it

Use bash  "[[ string =~ pattern ]]"  instead of "egrep -q".
Replace control-dominated serial fondling
for var in $(proc1); do proc2 var; done
with data-dominated parallel pipeline
proc1  |  while read var; do proc2 var; done
Together this is a large savings.

[harald@redhat.com: fixed network kernel module filter]
dracut-functions
modules.d/40network/module-setup.sh
modules.d/90kernel-modules/module-setup.sh
modules.d/90multipath/module-setup.sh
modules.d/95iscsi/module-setup.sh