diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/.gitignore | 1 | ||||
-rw-r--r-- | units/systemd-modules-load.service.in | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/units/.gitignore b/units/.gitignore index 2a5e24d32b..23857d2310 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -1,3 +1,4 @@ +systemd-modules-load.service systemd-auto-console-getty.service systemd-shutdownd.service systemd-random-seed-load.service 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 |