2020-01-07 14:33:29 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2020-01-07 17:54:24 +00:00
|
|
|
Description=Load Kernel Module %i
|
|
|
|
DefaultDependencies=no
|
|
|
|
Before=sysinit.target
|
2020-01-07 14:33:29 +00:00
|
|
|
Documentation=man:modprobe(8)
|
2020-01-07 17:54:24 +00:00
|
|
|
ConditionCapability=CAP_SYS_MODULE
|
2020-03-05 06:20:49 +00:00
|
|
|
ConditionPathExists=!/sys/module/%I
|
2020-01-07 14:33:29 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=-/sbin/modprobe -abq %I
|