Age | Commit message (Collapse) | Author |
|
|
|
Signed-off-by: Laurent Bercot <ska@appnovation.com>
|
|
The mdev init script isn't guaranteed to be there anymore;
we explicitly add the busybox-mdev-openrc package when choosing
mdev as our device manager.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
|
|
The hwdriver service is currently activated for mdev and deactivated
when mdev is disabled. Since mdevd and mdev use (more or less) the
same mechanism, we also enable hwdrivers with mdevd.
The service is only started when a coldplug is required, because
if no coldplug is required, the appropriate kernel modules are
already loaded.
Note that with the MODALIAS line in /etc/mdev.conf, it is possible
that the hwdrivers service is entirely redundant. This would need
some additional testing.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
|
|
we should stop and disable hwdrivers when we stop and disable mdev
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/14046
|
|
|
|
add --quiet option to silence warnings
|
|
it makes the script more readable
|
|
We currently does not have any mdev-init script.
|
|
|
|
remove the prog prefix so we are consistent with the other scripts.
|
|
Don't exit with error with -h specified.
Send usage text to stderr when there is a bad option
|
|
The mdev script is provided by busybox-initscripts
|
|
|