1 |
commit: 96b11d121cab23d105928fd9bb1987defd741704 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 16:11:50 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 16:11:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=96b11d12 |
7 |
|
8 |
initrd.scripts: start_network(): Use modules_scan() |
9 |
|
10 |
Using modules_scan() instead of load_modules() will prevent output |
11 |
of multiple "Loading modules ..." lines. |
12 |
|
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
defaults/initrd.scripts | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts |
19 |
index a81632c..11b529b 100644 |
20 |
--- a/defaults/initrd.scripts |
21 |
+++ b/defaults/initrd.scripts |
22 |
@@ -1906,9 +1906,11 @@ iface_name() { |
23 |
} |
24 |
|
25 |
start_network() { |
26 |
+ good_msg "Starting network ..." |
27 |
+ |
28 |
# Load network modules only when we need them to avoid possible |
29 |
# firmware problems for people not using network that early |
30 |
- MY_HWOPTS=net load_modules |
31 |
+ modules_scan net |
32 |
|
33 |
# At least gk.net.iface can only be processed after sysfs was |
34 |
# mounted. |