aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-05-06 13:35:05 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-06 13:41:32 +0200
commit6560dc5261057b9858b1ea5273fc447e3f80aef6 (patch)
tree252c7965b762c4cf00bdbf70e0ec9dc77ceb5fd6 /sysconfig/network-scripts/ifup
parent47b1f067b4e9ee046b36ac77bd0b7a9a901f2097 (diff)
downloadinitscripts-6560dc5261057b9858b1ea5273fc447e3f80aef6.tar
initscripts-6560dc5261057b9858b1ea5273fc447e3f80aef6.tar.gz
initscripts-6560dc5261057b9858b1ea5273fc447e3f80aef6.tar.bz2
initscripts-6560dc5261057b9858b1ea5273fc447e3f80aef6.tar.xz
initscripts-6560dc5261057b9858b1ea5273fc447e3f80aef6.zip
ifup: don't call NM for loopback
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 2940e889..2b826e2d 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -65,7 +65,7 @@ then
exit 0
fi
-if [ "$_use_nm" = "true" -a -n "$UUID" ]; then
+if [ "$_use_nm" = "true" -a -n "$UUID" -a "$DEVICE" != "lo" ]; then
if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ]; then
exit 0
fi