aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-16 16:25:55 -0500
committerBill Nottingham <notting@redhat.com>2010-03-01 16:03:36 -0500
commit1733f15b20d44fe195550d81e98dd3c68b0c8d3b (patch)
tree13b886abd6a7de1e5e128a5bedf4ed0540c08fad /sysconfig/network-scripts/network-functions
parentc43e3361caca18a78e58fca3db57ce513d18d694 (diff)
downloadinitscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar
initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.gz
initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.bz2
initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.xz
initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.zip
Remove quotes from uuid.
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 0eaf8e10..8ae752ba 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -140,7 +140,7 @@ source_config ()
fi
is_nm_running && USE_NM=true
if [ -z "$NAME" -a "$USE_NM" = "true" ]; then
- UUID=$(nmcli -t con list id "System ${DEVICE}" 2>/dev/null| awk '/uuid :/ { print $3 }')
+ UUID=$(nmcli -t con list id "System ${DEVICE}" 2>/dev/null| awk '/uuid :/ { print gensub("\"","","g",$3) }')
[ -n "$UUID" ] && NAME="System ${DEVICE}"
fi
}