kmodloader: added -a arg to modprobe master
authorGerard Ryan <g.m0n3y.2503@gmail.com>
Tue, 31 Dec 2019 02:01:35 +0000 (12:01 +1000)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 31 Dec 2019 08:40:45 +0000 (09:40 +0100)
commit0e34af143373126fc62b43612233a158694ec643
treeeab0917a6b6258ad742f7b2f730c36c59b1efb51
parentb30e0df358bdf8f4f0a5a0858852ca613e3117b8
kmodloader: added -a arg to modprobe

-a treats all non-op trailing arguments as module names
and attempts to load all of them. This behaviour mirrors the behaviour
of the respective -a in /tools/modprobe.c from https://git.kernel.org.

This is primarily to satiate the multiple modules passed by
docker/libnetwork.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
kmodloader.c