summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-08 09:51:55 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-08 09:51:55 -0700
commitc0f8a821c4ac99b8143a7a30e012faaf7997acbb (patch)
tree0650565a9c26a2a085bc8165c1df1a5bc0962649 /scripts/install-system
parent34b8c4ad8185e96239c47bbbf7487d26e9b4c79d (diff)
downloadvyatta-cfg-quagga-c0f8a821c4ac99b8143a7a30e012faaf7997acbb.tar.gz
vyatta-cfg-quagga-c0f8a821c4ac99b8143a7a30e012faaf7997acbb.zip
Fix install-system if not saving old image config
If old image config is not being saved, the filesystem (/mnt/tmp) which caused next step (mkfs) to fail.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 4f92ca37..64e2915f 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -770,6 +770,7 @@ check_config_partition() {
response=$(get_response "Yes" "Yes No Y N")
if [ "$response" != "yes" ] && [ "$response" != "y" ]; then
echo "OK. Config information not saved."
+ umount /mnt/tmp
return
fi