|
|
|
@ -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 |
|
|
|
|