chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e409ce
)
udev: exclude loopback device from udev rule based sysctl application, since we can...
author
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Dec 2011 21:52:15 +0000
(22:52 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Dec 2011 21:52:15 +0000
(22:52 +0100)
src/99-systemd.rules.in
patch
|
blob
|
history
diff --git
a/src/99-systemd.rules.in
b/src/99-systemd.rules.in
index b2481aea9a3b3a6f9722b0b3f33e2472c176273c..d306f71b63f9484890b01fa6d07bb0185132b4fc 100644
(file)
--- 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.
# 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.
# Asynchronously mount file systems implemented by these modules as
# soon as they are loaded.