Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv21707
Modified Files:
setup
Log Message:
ported RUNFROMRAM from 1.2-branch
Index: setup
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/setup,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- setup 20 Jul 2007 08:28:22 -0000 1.29
+++ setup 24 Jul 2007 08:06:56 -0000 1.30
@@ -293,6 +293,7 @@
APM "Enable APM at boot time [$ENABLE_APM] " \
FS "Config filesystem (if cannot determine) [$FS_TYPE] " \
YP "NIS/YP Domain Name [$YPDOMAINNAME] " \
+ FROMRAM "Run from RAM without mounted CD-Rom [$RUNFROMRAM] " \
2> $RESULT
RETURN=$?
CONFMENU="$(cat $RESULT)"
@@ -366,6 +367,11 @@
&& mod_config $CONFIG ENABLE_APM yes \
|| mod_config $CONFIG ENABLE_APM no
;;
+ FROMRAM)
+ askyesno "Run from RAM" "Run the whole system from RAM by loading the system ISO image to\na ramdisk and loop mount it from there.\nThis can add anything from 30 seconds to 2 minutes or more\nto your systems boot time depending on your hardware." $RUNFROMRAM \
+ && mod_config $CONFIG RUNFROMRAM yes \
+ || mod_config $CONFIG RUNFROMRAM no
+ ;;
*)
return 0
;;
|