This commit is contained in:
monsieuremre
2023-11-04 20:56:08 +00:00
committed by GitHub
parent 07882f61a8
commit a187d23c41

View File

@ -1,6 +1,7 @@
[Unit]
Description=Disable the loading of modules to the kernel after startup. This could be malicious.
After=systemd-modules-load.service
Before=sysinit.target
# This functionality is implemented with this and not directly in the sysctl config is
# to allow systemd-modules-load.service to load the modules with no problem but
# to disallow anyone else do the same after the system boots up.