[arch-projects] [initscripts][PATCH] arch-sysctl: suppress errors about unknown keys

lolilolicon lolilolicon at gmail.com
Tue Dec 13 11:55:04 EST 2011

The errors about unknown keys in boot messages are harmless, but annoying.
Some keys may become unknown when some modules are disabled, yet the user
may want to keep the sysctl.conf entries so they can take effect when the
modules are subsequently (re)enabled.  One example is the IPv6 module and
the net.ipv6.conf.all.use_tempaddr key.

Signed-off-by: lolilolicon <lolilolicon at gmail.com>
 arch-sysctl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch-sysctl b/arch-sysctl
index 4856df6..028fba7 100755
--- a/arch-sysctl
+++ b/arch-sysctl
@@ -23,7 +23,7 @@ for path in "${sysctl_d[@]}"; do
 for path in "${fragments[@]}"; do
-	sysctl -q -p "$path"
+	sysctl -e -q -p "$path"
 # vim: set ts=2 sw=2 noet:

More information about the arch-projects mailing list