SF.net SVN: morphix: [2398] trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
[email protected] Fri, 25 Aug 2006 15:38:24 -0700
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2398
Author: bmsleight
Date: 2006-08-25 15:38:19 -0700 (Fri, 25 Aug 2006)
ViewCVS: http://svn.sourceforge.net/morphix/?rev=2398&view=rev
Log Message:
-----------
moving along - almost there ?
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-08-24 22:30:29 UTC (rev 2397)
+++ trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh 2006-08-25 22:38:19 UTC (rev 2398)
@@ -159,6 +159,7 @@
esac
}
+
###########################################################
# #
# SECTION 2 : MESSAGES #
@@ -168,6 +169,69 @@
{
MESSAGE_TITLE="MorphingMorphix"
MESSAGE_EXIT="Are you sure you wish to exit MorphingMorphix now ?"
+###########################################################
+MESSAGE_HELP="MorphingMorphix - Help & About
+
+The purpose of Morphing-Morphix is to provide a quick way
+to start Morphing and to showcase of all the Morphix tools
+- a LiveCD contruction kit. Just boot the CD and start
+Morphing, no need to install tools, compile applications or
+switch operating systems. All is required is some space on
+a connected hard drive.
+
+On MorphingMorphix there are a number of interactive
+HowTo/examples. The examples work best if you work though
+them in order. First configure MorphingMorhix so that some
+extra disk space is available. Then work through the
+examples in order.
+
+Some of the examples, such such using mmaker and isomake
+require access to the internet, so that software can be
+downloaded from repositories to build new parts of a
+MorphixCD. This. The examples are very machine intestive,
+using lots of disk space and bandwidth."
+###########################################################
+MESSAGE_HELP_2="MorphingMorphix - Help & About
+
+It is useful to understand the structure of a MorphixCD.
+
+o /boot - contains the init ramdisk, grub menu and kernel
+o /base - contains morphix, the module that
+ detects/configures your hardware and contains
+ your standard kernel modules.
+o /mainmod - contains mainmodules, these are also cloop
+ images. MainModules contain your filesystem,
+ except for your kernel, loadable kernel modules,
+ and hardware detection scripts.
+o /minimod - contains minimodules, again these are cloop
+ images. You don't need them, but you can add
+ extra functionality by including extra
+ minimodules.
+o /exec If you place files in this directory, they will be
+ executed at boottime.
+o /copy If you place files in this directory, they will be
+ copied over to the root of your filesystem. Use
+ directories to place files in a certain directory
+ instead. "
+MESSAGE_HELP_3="MorphingMorphix - Help & About
+
+MorphingMorphix licensed under the GNU GPL v2. No warranty
+is given for MorphingMorphix. It could fry your data or
+your mind. Brendan M. Sleight and Morphix.org take no
+resposibility for any damage done.
+
+Thanks to :-
+ * Alextreme - our benevolent dictator
+ * paul_c - British humor, grammer nazi.
+ * gandalfar - for most of the code in MorphixLiveKiosk
+ * Fellow morphers at #morphix
+ * TROM (MichielioZ) for some of the ideas behind
+ this script
+
+2006 - Brendan M. Sleight - a.k.a. bmsleight"
+###########################################################
+
+MESSAGE_HELP_TITLE="MorphingMorphix Help"
MESSAGE_MAIN_MENU="Welcome to MorphingMorphix"
MESSAGE_MAIN_MENU_1="Submenu [Configure MorphingMorphix]"
MESSAGE_MAIN_MENU_2="Introduction to isomorph"
@@ -504,8 +568,7 @@
TMP_MENU="$TMP_MENU \"$NUM\" \"$TMP_MENU_OPTIONS\"\
off "
done
- XD='Xdialog --title "$MESSAGE_TITLE" --left --cancel-label "QUIT" --radiolist \
- "$TMP_MENU_DETAIL" 26 52 0'
+ XD='Xdialog --title "$MESSAGE_TITLE" --help "" --left --cancel-label "QUIT" --radiolist "$TMP_MENU_DETAIL" 26 52 0 '
eval $XD $TMP_MENU 2> $TMP_FILE
TMP=$?
if [ "$TMP" = "0" ]
@@ -513,7 +576,12 @@
RETURN_VALUE=`cat $TMP_FILE`
rm -f $TMP_FILE
else
- RETURN_VALUE=255
+ if [ "$TMP" = "2" ]
+ then
+ RETURN_VALUE=254
+ else
+ RETURN_VALUE=255
+ fi
fi
return $RETURN_VALUE
}
@@ -688,6 +756,11 @@
9)
log_file "main_menu selected $?"
test_qemu;;
+ 254)
+ xdialog_message "$MESSAGE_HELP"
+ xdialog_message "$MESSAGE_HELP_2"
+ xdialog_message "$MESSAGE_HELP_3"
+ main_menu;;
255)
closing_mmorphix "main_menu";;
esac
@@ -706,6 +779,11 @@
set_up_mmorphix;;
3)
main_menu;;
+ 254)
+ xdialog_message "$MESSAGE_HELP"
+ xdialog_message "$MESSAGE_HELP_2"
+ xdialog_message "$MESSAGE_HELP_3"
+ configure_mm_submenu;;
255)
closing_mmorphix "configure_mm_submenu";;
esac
@@ -723,6 +801,11 @@
make_mini;;
3)
main_menu;;
+ 254)
+ xdialog_message "$MESSAGE_HELP"
+ xdialog_message "$MESSAGE_HELP_2"
+ xdialog_message "$MESSAGE_HELP_3"
+ minimodules_submenu;;
255)
closing_mmorphix "configure_mm_submenu";;
esac
@@ -740,14 +823,17 @@
inside_mainmodule;;
3)
main_menu;;
+ 254)
+ xdialog_message "$MESSAGE_HELP"
+ xdialog_message "$MESSAGE_HELP_2"
+ xdialog_message "$MESSAGE_HELP_3"
+ mainmodules_submenu;;
255)
closing_mmorphix "configure_mm_submenu";;
esac
}
-
-
###########################################################
# #
# BELOW IS THE MORPHING FUN #
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642