summaryrefslogtreecommitdiff
path: root/src/99-systemd.rules.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-27 22:52:15 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-27 22:52:15 +0100
commit330672957438243c8003d3a90f0e59dedbd845e9 (patch)
tree7eaf61e7e5727b22106dc622fc83c9ec0a839478 /src/99-systemd.rules.in
parent6e409ce10d134625626d1eddfd6152755ef1908d (diff)
udev: exclude loopback device from udev rule based sysctl application, since we can just apply that directly at boot
Diffstat (limited to 'src/99-systemd.rules.in')
-rw-r--r--src/99-systemd.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/99-systemd.rules.in b/src/99-systemd.rules.in
index b2481aea9a..d306f71b63 100644
--- a/src/99-systemd.rules.in
+++ b/src/99-systemd.rules.in
@@ -44,7 +44,7 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:
# Apply sysctl variables to network devices (and only to those) as they appear.
-SUBSYSTEM=="net", 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"
+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"
# Asynchronously mount file systems implemented by these modules as
# soon as they are loaded.