Browse Source

Don't use backticks, use $()

This is a minor style fix.
master
Peter Jones 16 years ago committed by Peter Jones
parent
commit
3871f8f53b
  1. 2
      modules.d/40network/install

2
modules.d/40network/install

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#!/bin/bash
dracut_install ip dhclient hostname
# Include wired net drivers, excluding wireless
for modname in `find "/lib/modules/$kernel/kernel/drivers" -name '*.ko'`; do
for modname in $(find "/lib/modules/$kernel/kernel/drivers" -name '*.ko'); do
if nm -uPA $modname | grep -q eth_type_trans; then
if echo "$modname" | grep -q wireless; then
continue

Loading…
Cancel
Save