summaryrefslogtreecommitdiff
path: root/units/systemd-modules-load.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-19 02:03:03 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-19 02:03:17 +0200
commitb2423f1f436f847d9fc96a63679be2b5552b6baf (patch)
treeb73ef68fc3335bf43684fa142d8a4e638534d9a3 /units/systemd-modules-load.service.in
parent9f24a81068b69e1670d685c4917a5f9f3074d845 (diff)
modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this
Diffstat (limited to 'units/systemd-modules-load.service.in')
-rw-r--r--units/systemd-modules-load.service.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in
new file mode 100644
index 0000000000..2390e02b3f
--- /dev/null
+++ b/units/systemd-modules-load.service.in
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Load Kernel Modules
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=@rootlibexecdir@/systemd-modules-load
+
+[Install]
+WantedBy=sysinit.target