From f71a7bdfebde45f501a801514a2145e720be1b06 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 16 Feb 2010 16:25:55 -0500 Subject: Remove quotes from uuid. --- sysconfig/network-scripts/network-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 9eace72a..88a9757f 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -134,7 +134,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 } -- cgit v1.2.1