diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-16 16:25:55 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-03-01 16:03:36 -0500 |
commit | 1733f15b20d44fe195550d81e98dd3c68b0c8d3b (patch) | |
tree | 13b886abd6a7de1e5e128a5bedf4ed0540c08fad | |
parent | c43e3361caca18a78e58fca3db57ce513d18d694 (diff) | |
download | initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.gz initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.bz2 initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.tar.xz initscripts-1733f15b20d44fe195550d81e98dd3c68b0c8d3b.zip |
Remove quotes from uuid.
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
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 } |