From: Lennart Poettering Date: Tue, 7 Jan 2020 17:54:24 +0000 (+0100) Subject: units: tweaks to modprobe@.service X-Git-Tag: v245-rc1~168^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5016c21d7bb60f38aa461887cd843fabbc986ca;p=thirdparty%2Fsystemd.git 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 --- 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