|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 1b600437bac3c0676cc72f589909c4cbfe38ba10 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Tue, 7 Oct 2014 02:02:59 -0400
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] /proc/sys prefixes are not necessary for sysctl anymore
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
man/sysctl.d.xml | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
rules/99-systemd.rules.in | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/man/sysctl.d.xml b/man/sysctl.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index 5529fc98bf..3002ebd0fd 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/man/sysctl.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/man/sysctl.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -158,7 +158,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<para><filename>/etc/udev/rules.d/99-bridge.rules</filename>:
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
</para>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- <programlisting>ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ <programlisting>ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/net/bridge"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
</programlisting>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<para><filename>/etc/sysctl.d/bridge.conf</filename>:
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index aa435c4143..e30d9a8f1b 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/rules/99-systemd.rules.in
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -52,7 +52,7 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
# Apply sysctl variables to network devices (and only to those) as they appear.
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/$name --prefix=/proc/sys/net/ipv4/neigh/$name --prefix=/proc/sys/net/ipv6/conf/$name --prefix=/proc/sys/net/ipv6/neigh/$name"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name --prefix=/net/ipv6/neigh/$name"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
# Pull in backlight save/restore for all backlight devices and
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
# keyboard backlights
|