diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-02 15:05:26 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-02 15:06:25 +0200 |
commit | 91ac74250149a29122b2291c5393dec4592430d4 (patch) | |
tree | d6ce959b1cf6825904c2f0eceb18973e3475673e | |
parent | d1f9edafe7b832c507931640f32069d001916b0e (diff) |
modules load: rename kernel command line option to (rd.)modules-load=
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/modules-load/modules-load.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -81,7 +81,7 @@ CHANGES WITH 186: * The fstab generator may now be disabled at boot by passing fstab=0 on the kernel command line. - * A new kernel command line option driver= is now understood + * A new kernel command line option modules-load= is now understood to load a specific kernel module statically, early at boot. * Unit names specified on the systemctl command line are now diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index 1b887aea3f..3f3b01852b 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -90,13 +90,13 @@ static int parse_proc_cmdline(void) { goto finish; } - if (startswith(word, "driver=")) { + if (startswith(word, "modules-load=")) { r = add_modules(word + 7); if (r < 0) goto finish; - } else if (startswith(word, "rd.driver=")) { + } else if (startswith(word, "rd.modules-load=")) { if (in_initrd()) { r = add_modules(word + 10); |