SF.net SVN: morphix: [2370] trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
[email protected] Sun, 23 Jul 2006 14:41:04 -0700
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2370
Author: bmsleight
Date: 2006-07-23 14:40:58 -0700 (Sun, 23 Jul 2006)
ViewCVS: http://svn.sourceforge.net/morphix/?rev=2370&view=rev
Log Message:
-----------
Moving along svn stats++
Modified Paths:
--------------
trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
Modified: trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
===================================================================
--- trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh 2006-07-23 14:19:49 UTC (rev 2369)
+++ trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh 2006-07-23 21:40:58 UTC (rev 2370)
@@ -60,8 +60,8 @@
{
# Set up global variable and global stuff
SETTING_FILE=~/.mmorphix
- SETTING_LOG_FILE=/tmp/mmorphix
- SETTING_LOG_COMMANDS=/tmp/mmscript.sh
+ SETTING_LOG_FILE=~/mmorphix.log
+ SETTING_LOG_COMMANDS=~/mmscript.sh
SETTING_MYMORPH="MyMorph.iso"
TMP_FILE=/tmp/mmorphix.$$
TMP_FILE_2=/tmp/mmorphix_.$$
@@ -348,6 +348,10 @@
rm $TMP_FILE 2>/dev/null
rm $TMP_FILE_2 2>/dev/null
rm $TMP_SCRIPT 2>/dev/null
+ if [ "$MM_IS_SET_UP" != "" ]
+ then
+ log_and_do_command "sudo ln -sf /var/tmp /tmp"
+ fi
exit 0 ;;
1) $1 ;;
esac
@@ -463,6 +467,11 @@
log_and_do_command_progress "while pidof dd >/dev/null; do sudo kill -USR1 $(pidof dd); \
tail -n 1 $TMP_FILE; sleep 2; done"
fi
+ log_and_do_not_do_command "#Using HD as /tmp space"
+ log_and_do_command "sudo chmod 1777 $MNT_POINT/mmorphix/tmp"
+ log_and_do_command "sudo cp -axf /tmp/* $MNT_POINT/mmorphix/tmp/"
+ #log_and_do_command "sudo rm /tmp"
+ log_and_do_command "sudo ln -sf $MNT_POINT/mmorphix/tmp /tmp"
log_and_do_not_do_command "#Setting-up complete"
log_file "completed set-up"
MM_IS_SET_UP="Y"
@@ -627,7 +636,8 @@
is_mmorphix_set_up
if [ "$?" = "1" ]
then
- log_file "test_qemu"
+ log_file "test_qemu"
+ fi
main_menu
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV