summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-07-07 14:05:31 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-07-07 14:05:31 -0700
commit95d9651eb951d10572503d783aea0e02d44e98d5 (patch)
tree0d15ffb83e171170836ba6aec08e061775437d03 /scripts
parent9e1fe74bdcd68ce3f39afcacde91ef5bc14470f9 (diff)
downloadvyatta-cfg-quagga-95d9651eb951d10572503d783aea0e02d44e98d5.tar.gz
vyatta-cfg-quagga-95d9651eb951d10572503d783aea0e02d44e98d5.zip
fix for bug 3095
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/install-system b/scripts/install-system
index b5eefe62..a7a0b066 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -528,16 +528,19 @@ copy_config () {
if [ -z "$config" ]; then
config="$fdconfdir/config.boot"
else
- config="$config\n$fdconfdir/config.boot"
+ config="$config $fdconfdir/config.boot"
fi
fi
if [ -n "$config" ]; then
echo "I found the following configuration files"
- echo -e "$config"
- default=$(echo -e $config| head -1)
+ for file in $config
+ do
+ echo $file
+ done
+
+ default=$(echo -e $config | awk '{ print $1 }')
- resp=''
while [ -z "$configfile" ]
do
echo -n "Which one should I copy to $INSTALL_DRIVE? [$default]: "