bootdisk: ui-main (HEAD) ui-makeform (HEAD) [malekith]

PLD CVS pld-cvs-commit w pld.org.pl
Pon, 29 Lip 2002, 13:17:23 CEST


Module name:	bootdisk
Changes by:	malekith	02/07/29 13:17:21

Modified files:
	ui-main ui-makeform

Log message:
- handle: pkgs_cpus, boot_loader_device, net_proxy

Index: ui-main
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-main,v
diff -d -u -r1.79 -r1.80
--- ui-main	2002/07/26 10:14:49	1.79
+++ ui-main	2002/07/29 11:17:21	1.80
@@ -241,6 +241,51 @@
 EOF
 }
 
+ui-pkgs_cpus () {
+dml <<EOF 
+    <br>`nls "Enter or choose number of CPUs in this box"`
+    <br>
+    <meta title="$(nls "# of CPUs")">
+    <menu id=res_menu res=1>
+    <item id=auto>Autodetect
+    <item id=ui_custom>${custom_text}
+    <item id=1>$(nls "UniProcessor")
+    <item id=2>$(nls "Double-Processor")
+    <item id=4>$(nls "Four-Way")
+    </menu>
+    $@
+EOF
+}
+
+ui-boot_loader_device () {
+dml <<EOF 
+    <br>`nls "Enter device to install bootloader on"`
+    <br>
+    <meta title="$(nls "boot = ?")">
+    <menu id=res_menu res=1>
+    <item id=auto>Autodetect
+    <item id=ui_custom>${custom_text}
+    <item id=/dev/hda>/dev/hda
+    <item id=/dev/sda>/dev/sda
+    <item id=/dev/hda1>/dev/hda1
+    </menu>
+    $@
+EOF
+}
+
+ui-net_proxy () {
+dml <<EOF 
+    <br>`nls "Enter FTP/HTTP proxy"`
+    <br>
+    <meta title="$(nls "Proxy")">
+    <menu id=res_menu res=1>
+    <item id=none>$(nls "No proxy")
+    <item id=ui_custom>${custom_text}
+    <item id="http://squid.example.org:3128/">http://squid.example.org:3128/>
+    </menu>
+    $@
+EOF
+}
 # support function
 actions_menu () {
 local actions action desc

Index: ui-makeform
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-makeform,v
diff -d -u -r1.31 -r1.32
--- ui-makeform	2002/03/25 09:17:20	1.31
+++ ui-makeform	2002/07/29 11:17:21	1.32
@@ -92,6 +92,7 @@
 	item net_gateway "$(nls "IP address if default router")" 
 	item net_dns "$(nls "List of dns servers (IP addresses) (optional)")" 
     fi
+    item net_proxy "$(nls "HTTP/FTP proxy")" 
     ;;
 esac
 
@@ -102,8 +103,10 @@
 item pkgs_installer "$(nls "Which installer use to install RPM packages")" 
 item pkgs_install_docs "$(nls "Whatever to install documentation")" 
 item pkgs_install_langs "$(nls "Which languages to install")" 
+item pkgs_cpus "$(nls "# of CPUs in installed box")" 
 item boot_loader "$(nls "Bootloader")"
 item boot_loader_other "$(nls "Other systems on this box")"
+item boot_loader_device "$(nls "Device to which install bootloader")"
 
 separator "$(nls "Destination options")"
 item dest_devices "$(nls "List of hard disks to install on")" 



Więcej informacji o liście dyskusyjnej pld-installer