mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-22 04:30:37 +01:00
utils: obey modprobe blacklist
If the user blacklisted a module we should not override their choice.
https://github.com/NetworkManager/NetworkManager/pull/311
(cherry picked from commit 9bcd634cbf)
This commit is contained in:
parent
f2a5b6336d
commit
99abceb58f
1 changed files with 1 additions and 0 deletions
|
|
@ -443,6 +443,7 @@ nm_utils_modprobe (GError **error, gboolean suppress_error_logging, const char *
|
|||
/* construct the argument list */
|
||||
argv = g_ptr_array_sized_new (4);
|
||||
g_ptr_array_add (argv, "/sbin/modprobe");
|
||||
g_ptr_array_add (argv, "--use-blacklist");
|
||||
g_ptr_array_add (argv, (char *) arg1);
|
||||
|
||||
va_start (ap, arg1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue