mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-22 11:40:47 +02:00
utils: obey modprobe blacklist
If the user blacklisted a module we should not override their choice. https://github.com/NetworkManager/NetworkManager/pull/311
This commit is contained in:
parent
3f75d6a9a6
commit
9bcd634cbf
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