summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-01-24 16:50:50 -0800
committerStephen Hemminger <shemminger@vyatta.com>2012-01-24 16:50:50 -0800
commit07119bd476b7963fee55e1b5eb649edf25603910 (patch)
tree2aeee0a89092526393e01570d5e0b89b8a23e252 /scripts
parent12c5a63b7e73bcb31a277e7da6cff0a7414a6edd (diff)
downloadvyatta-cfg-system-07119bd476b7963fee55e1b5eb649edf25603910.tar.gz
vyatta-cfg-system-07119bd476b7963fee55e1b5eb649edf25603910.zip
Fix missing error (missing lecho) in install-system
Some statements were copy/pasted over from install-image. install-system does not use lecho, that is only used in install-image
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install-system b/scripts/install-system
index fcd2dff0..fbff5e1f 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -647,7 +647,7 @@ save_image_config() {
if [ -n "$output" ]; then
echo -e "Warning: error in copying the old config partition.\nSee $INSTALL_LOG for more details."
- lecho "Warning: error in copying the old config partition.\ncp -pR /mnt/tmp/* /mnt/config\n$output\n"
+ echo "Warning: error in copying the old config partition.\ncp -pR /mnt/tmp/* /mnt/config\n$output\n"
fi
rename_old_config
}
@@ -845,8 +845,8 @@ create_partitions() {
# If unable to read disk, it's likely it needs a disklabel
if [ "$?" != "0" ]; then
- lecho "Creating a new disklabel on $ldrive"
- lecho "parted /dev/$ldrive mklabel msdos"
+ echo "Creating a new disklabel on $ldrive"
+ echo "parted /dev/$ldrive mklabel msdos"
output=$(parted -s /dev/$ldrive mklabel msdos)
parted --script /dev/$ldrive p >/dev/null 2>&1