From d5016c21d7bb60f38aa461887cd843fabbc986ca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 7 Jan 2020 18:54:24 +0100 Subject: [PATCH] units: tweaks to modprobe@.service Let's use uppercase wording in the description string, like we usually do. Let's allow using this service in early boot. If it's pulled into the initial transaction it's better to finish loading this before sysinit.target. Don't bother with this in containers that lack CAP_SYS_MODULE --- units/modprobe@.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/units/modprobe@.service b/units/modprobe@.service index 4c5bd637e3c..5dca2cb7718 100644 --- a/units/modprobe@.service +++ b/units/modprobe@.service @@ -8,8 +8,11 @@ # (at your option) any later version. [Unit] -Description=Load kernel module %i +Description=Load Kernel Module %i +DefaultDependencies=no +Before=sysinit.target Documentation=man:modprobe(8) +ConditionCapability=CAP_SYS_MODULE [Service] Type=oneshot