FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Design Team

 
 
LinkBack Thread Tools
 
Old 01-23-2012, 07:53 PM
David Cantrell
 
Default Single quote values in show_parms() in linuxrc.s390 (#772970)

(cherry picked from commit 5543c36a6300cb238f4998de6835f71f4fb8d937)
---
loader/linuxrc.s390 | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 9552c0c..4bc1e8c 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -2683,28 +2683,28 @@ function show_parms() {
# For the time being, at least the parameters LAYER2, PORTNAME, and CTCPROT
# only get asked on being empty if not running in kickstart mode.
cat << EOF
-NETTYPE=$NETTYPE
-IPADDR=$IPADDR
-NETMASK=$NETMASK
-GATEWAY=$GATEWAY
-HOSTNAME=$HOSTNAME
+NETTYPE='$NETTYPE'
+IPADDR='$IPADDR'
+NETMASK='$NETMASK'
+GATEWAY='$GATEWAY'
+HOSTNAME='$HOSTNAME'
EOF
- [ "$SUBCHANNELS" ] && echo "SUBCHANNELS=$SUBCHANNELS"
- [ "$LAYER2" ] && echo "LAYER2=$LAYER2"
- [ "$VSWITCH" ] && echo "VSWITCH=$VSWITCH"
- [ "$MACADDR" ] && echo "MACADDR=$MACADDR"
- [ "$PORTNAME" ] && echo "PORTNAME=$PORTNAME"
- [ "$PORTNO" ] && echo "PORTNO=$PORTNO"
- [ "$PEERID" ] && echo "PEERID=$PEERID"
- [ "$CTCPROT" ] && echo "CTCPROT=$CTCPROT"
+ [ "$SUBCHANNELS" ] && echo "SUBCHANNELS='$SUBCHANNELS'"
+ [ "$LAYER2" ] && echo "LAYER2='$LAYER2'"
+ [ "$VSWITCH" ] && echo "VSWITCH='$VSWITCH'"
+ [ "$MACADDR" ] && echo "MACADDR='$MACADDR'"
+ [ "$PORTNAME" ] && echo "PORTNAME='$PORTNAME'"
+ [ "$PORTNO" ] && echo "PORTNO='$PORTNO'"
+ [ "$PEERID" ] && echo "PEERID='$PEERID'"
+ [ "$CTCPROT" ] && echo "CTCPROT='$CTCPROT'"
if [ -n "$mmtu_was_set" ]; then
- echo "MMTU="$MMTU""
+ echo "MMTU='$MMTU'"
elif [ -n "$mtu_was_set" ]; then
- echo "MTU=$MTU"
+ echo "MTU='$MTU'"
fi
- [ "$DNS" ] && echo "DNS=$DNS"
- [ "$SEARCHDNS" ] && echo "SEARCHDNS=$SEARCHDNS"
- [ "$DASD" ] && echo "DASD=$DASD"
+ [ "$DNS" ] && echo "DNS='$DNS'"
+ [ "$SEARCHDNS" ] && echo "SEARCHDNS='$SEARCHDNS'"
+ [ "$DASD" ] && echo "DASD='$DASD'"
}

function final_check() {
--
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org