aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-04-30 14:03:50 -0400
committerBill Nottingham <notting@redhat.com>2012-04-30 14:03:50 -0400
commitd1256a2ab6187b2c8696b25697f41a87c736de1b (patch)
treef8a6bb685664cabb798f752bf23c8d58fdfbbcf1 /sysconfig/network-scripts/ifup
parentaac197e7dee0139dc0bb8d1ba4f5345ec5e9188b (diff)
downloadinitscripts-d1256a2ab6187b2c8696b25697f41a87c736de1b.tar
initscripts-d1256a2ab6187b2c8696b25697f41a87c736de1b.tar.gz
initscripts-d1256a2ab6187b2c8696b25697f41a87c736de1b.tar.bz2
initscripts-d1256a2ab6187b2c8696b25697f41a87c736de1b.tar.xz
initscripts-d1256a2ab6187b2c8696b25697f41a87c736de1b.zip
Rename internal tracking variable USE_NM to _use_nm, to more clearly state it's not for configuration use.
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 f5ac0fe0..6534f5a1 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" ]; then
nmcli con up uuid "$UUID"
exit $?
fi