aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-04-04 14:36:01 -0400
committerBill Nottingham <notting@redhat.com>2008-04-04 14:36:01 -0400
commit6d61a919350e2f9011de5ae95a8a6a182b19c242 (patch)
treee15b6688bcea95312001149ce66149961acb57f8
parentc18efcdfff7a0b63215c457a4ff126d4691a7f41 (diff)
downloadinitscripts-6d61a919350e2f9011de5ae95a8a6a182b19c242.tar
initscripts-6d61a919350e2f9011de5ae95a8a6a182b19c242.tar.gz
initscripts-6d61a919350e2f9011de5ae95a8a6a182b19c242.tar.bz2
initscripts-6d61a919350e2f9011de5ae95a8a6a182b19c242.tar.xz
initscripts-6d61a919350e2f9011de5ae95a8a6a182b19c242.zip
Bring up lo whenever it shows up; having to separately do this in NM and network is silly
-rw-r--r--udev/rules.d/60-net.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/rules.d/60-net.rules b/udev/rules.d/60-net.rules
index 718ad5d9..5a2146d9 100644
--- a/udev/rules.d/60-net.rules
+++ b/udev/rules.d/60-net.rules
@@ -1,2 +1,3 @@
+ACTION=="add", SUBSYSTEM=="net", DEVPATH=="/devices/virtual/net/lo", RUN+="/sbin/ifup $env{INTERFACE}"
ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/rename_device", RESULT=="?*", ENV{INTERFACE_NAME}="$result"
SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-scripts/net.hotplug"