aboutsummaryrefslogtreecommitdiffstats
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:35:05 +0200
commit0d455f31ead37e4046f28f125522130820a9b950 (patch)
treefee35247676bdfb528d90d1f1420923b32c89c1f
parentc034f81bb4fb0c75bb09aefa85a5b657fabe30f7 (diff)
downloadinitscripts-0d455f31ead37e4046f28f125522130820a9b950.tar
initscripts-0d455f31ead37e4046f28f125522130820a9b950.tar.gz
initscripts-0d455f31ead37e4046f28f125522130820a9b950.tar.bz2
initscripts-0d455f31ead37e4046f28f125522130820a9b950.tar.xz
initscripts-0d455f31ead37e4046f28f125522130820a9b950.zip
ifup: don't call NM for loopback
-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