Blame 0020-systemd-add-sysctl.d-and-sysctl.conf.patch

Harald Hoyer a20c0e
From b8060ef781a980afebec4412666a5b41c5cada2c Mon Sep 17 00:00:00 2001
Harald Hoyer a20c0e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer a20c0e
Date: Wed, 13 Mar 2013 11:07:36 +0100
Harald Hoyer a20c0e
Subject: [PATCH] systemd: add sysctl.d and sysctl.conf
Harald Hoyer a20c0e
Harald Hoyer a20c0e
---
Harald Hoyer a20c0e
 modules.d/98systemd/module-setup.sh | 10 ++++++----
Harald Hoyer a20c0e
 1 file changed, 6 insertions(+), 4 deletions(-)
Harald Hoyer a20c0e
Harald Hoyer a20c0e
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
Harald Hoyer a20c0e
index 6b00be5..bc4f63c 100755
Harald Hoyer a20c0e
--- a/modules.d/98systemd/module-setup.sh
Harald Hoyer a20c0e
+++ b/modules.d/98systemd/module-setup.sh
Harald Hoyer a20c0e
@@ -108,7 +108,8 @@ install() {
Harald Hoyer a20c0e
         journalctl systemctl echo swapoff systemd-cgls
Harald Hoyer a20c0e
 
Harald Hoyer a20c0e
     dracut_install -o \
Harald Hoyer a20c0e
-        /usr/lib/modules-load.d/*.conf
Harald Hoyer a20c0e
+        /usr/lib/modules-load.d/*.conf \
Harald Hoyer a20c0e
+        /usr/lib/sysctl.d/*.conf
Harald Hoyer a20c0e
 
Harald Hoyer a20c0e
     modules_load_get() {
Harald Hoyer a20c0e
         local _line i
Harald Hoyer a20c0e
@@ -137,10 +138,11 @@ install() {
Harald Hoyer a20c0e
             /etc/hostname \
Harald Hoyer a20c0e
             /etc/machine-id \
Harald Hoyer a20c0e
             /etc/vconsole.conf \
Harald Hoyer a20c0e
-            /etc/locale.conf
Harald Hoyer a20c0e
+            /etc/locale.conf \
Harald Hoyer a20c0e
+            /etc/modules-load.d/*.conf \
Harald Hoyer a20c0e
+            /etc/sysctl.d/*.conf \
Harald Hoyer a20c0e
+            /etc/sysctl.conf
Harald Hoyer a20c0e
 
Harald Hoyer a20c0e
-        dracut_install -o \
Harald Hoyer a20c0e
-            /etc/modules-load.d/*.conf
Harald Hoyer a20c0e
         _mods=$(modules_load_get /etc/modules-load.d)
Harald Hoyer a20c0e
         [[ $_mods ]] && instmods $_mods
Harald Hoyer a20c0e
     else