OSDN Git Service

0-auto-detect: keep module loading order as before
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Jul 2016 15:22:32 +0000 (23:22 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Jul 2016 15:22:32 +0000 (23:22 +0800)
commita34ea4cdb6a134ce0c24fe386f11b1121609d852
treeaede120e76d96132497701395ee41a6bc1433f06
parent80dca510a21f641ffcbb0ed007770ae16740f5fe
0-auto-detect: keep module loading order as before

Commit bdf2b690 uses 'sort -u' which changes module loading order.
It causes some issues. For example, on a device with two graphic
cards, the driver of the discrete graphic card may be loaded first
that causes black screen issue.

Use the simple awk script to remove duplicate items but keep the
order unchanged.
initrd/scripts/0-auto-detect