[Lunar-commits] CVS: brutus/iso/usr/sbin lunar.install,1.14,1.15

Terry Chan tchan at lunar-linux.org
Wed Mar 3 06:35:12 GMT 2004


Update of /var/cvs/lunar/brutus/iso/usr/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv31413

Modified Files:
	lunar.install 
Log Message:
Added the make_server_keys option to the various dialog boxes.


Index: lunar.install
===================================================================
RCS file: /var/cvs/lunar/brutus/iso/usr/sbin/lunar.install,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- lunar.install	19 Jan 2004 05:01:04 -0000	1.14
+++ lunar.install	3 Mar 2004 06:35:10 -0000	1.15
@@ -55,6 +55,9 @@
 # 20040109, tchan added the test for /usr/include/asm and
 # linux symlink removal
 #############################################################
+# 20040303, tchan added the make_server_keys options to the
+# various dialog boxes
+#############################################################
 
 introduction()  {
 
@@ -1134,6 +1137,13 @@
 }
 
 
+make_server_keys()  {
+
+  chroot $TARGET cd /etc/ssh && make server-keys
+
+}
+
+
 install_menu()  {
 
  ICOMMAND="B"
@@ -1160,6 +1170,7 @@
     O_HELP="Enable or disable guided menu"
     P_HELP="Enable or disable asking of confirmation questions"
     R_HELP="Select modules to load"
+    S_HELP="Generate the SSH server keys"
     V_HELP="Guided menu disabled.  Nothing will prevent you from choosing options in a nonsensical sequence.  Good Luck."
     W_HELP="Abort now if you have not made backups.  Lunar Linux comes with absolutely no warranty.  Run this script only when booted from the Lunar CD.  Proceed at your own risk."
     X_HELP="When ready you may transfer lunar from CD to fixed disk."
@@ -1189,6 +1200,7 @@
                          "K"  "Install Linux MBR"       "$K_HELP"  \
                          "Q"  "Hostname Setting"        "$Q_HELP"  \
                          "L"  "Configure Networking"    "$L_HELP"  \
+                         "S"  "SSH Server Keys"         "$S_HELP"  \
                          "M"  "Done"                    "$M_HELP"  \
                          "N"  "Shell"                   "$N_HELP"  \
                          "O"  "Enable Guided Menu"      "$O_HELP"  \
@@ -1214,6 +1226,7 @@
                          "I"  "Configure Linux Kernel"  "$I_HELP"  \
                          "Q"  "Hostname Setting"        "$Q_HELP"  \
                          "L"  "Configure Networking"    "$L_HELP"  \
+                         "S"  "SSH Server Keys"         "$S_HELP"  \
                          "M"  "Done"                    "$M_HELP"  \
                          "N"  "Shell"                   "$N_HELP"  \
                          "O"  "Enable Guided Menu"      "$O_HELP"  \
@@ -1284,6 +1297,7 @@
                 "I"  "Optional  Re-Configure Linux Kernel"  "$I_HELP"  \
                 "Q"  "Hostname Setting"                     "$Q_HELP"  \
                 "L"  "Configure Networking"                 "$L_HELP"  \
+                "S"  "SSH Server Keys"                      "$S_HELP"  \
                 "M"  "Done"                                 "$M_HELP"  \
                 "N"  "Shell"                                "$N_HELP"  \
                 "O"  "Disable Guided Menu"                  "$O_HELP"`
@@ -1300,6 +1314,7 @@
                 "K"  "Optional  Install Linux MBR"          "$K_HELP"  \
                 "Q"  "Hostname Setting"                     "$Q_HELP"  \
                 "L"  "Configure Networking"                 "$L_HELP"  \
+                "S"  "SSH Server Keys"                      "$S_HELP"  \
                 "M"  "Done"                                 "$M_HELP"  \
                 "N"  "Shell"                                "$N_HELP"  \
                 "O"  "Disable Guided Menu"                  "$O_HELP"`
@@ -1327,6 +1342,7 @@
       O)  toggle_guide           ;;
       P)  toggle_confirm         ;;
       R)  load_module            ;;
+      S)  make_server_keys       ;;
     esac
 
   done
@@ -1367,7 +1383,7 @@
 "
 DIALOG="dialog
 --backtitle
-Lunar Linux Installer 20040109
+Lunar Linux Installer 20040303
 --stdout"
 ARCH=`arch`
 



More information about the Lunar-commits mailing list