summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-12-02 11:50:23 -0800
committerRick Balocca <rbalocca@vyatta.com>2008-12-02 11:50:23 -0800
commit1afe03a24174a82d231adc7b5331a69c88699808 (patch)
treef53deae8acf4468c74b122fe1c83ec54b093cf1f /scripts
parentc6f60b18bf3c8cd324e73409647b002d40535367 (diff)
downloadvyatta-cfg-system-1afe03a24174a82d231adc7b5331a69c88699808.tar.gz
vyatta-cfg-system-1afe03a24174a82d231adc7b5331a69c88699808.zip
Fix for bug http://bugzilla.vyatta.com/show_bug.cgi?id=3963
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system11
1 files changed, 1 insertions, 10 deletions
diff --git a/scripts/install-system b/scripts/install-system
index e8f469c8..6dd7f360 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -50,7 +50,7 @@ rootfsdir=/mnt/rootfs
# UNION=false
# install log file name
-INSTALL_LOG="install.log"
+INSTALL_LOG=/tmp/install-$$.log
# root partition minimum size in MB
ROOT_MIN=500
# the base install drive e.g. sda
@@ -1244,15 +1244,6 @@ progress_indicator () {
##### Main
##
-# clean up existing log files
-if [ -f $INSTALL_LOG.old ]; then
- rm -f $INSTALL_LOG.old
-fi
-if [ -f $INSTALL_LOG ]; then
- mv $INSTALL_LOG $INSTALL_LOG.old
- rm -f $INSTALL_LOG
-fi
-
# turn off any mounted swap files
turnoffswap