Magellan Linux

Annotation of /trunk/installer/ncurses-gui/install.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1034 - (hide annotations) (download) (as text)
Sun May 30 18:29:43 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 1451 byte(s)
-added ncurses-gui
1 niro 1013 # $Id$
2    
3     system_setup()
4     {
5 niro 1034 ${INSTALLER_DIR}/include/prepare_auth.sh &> /dev/null
6 niro 1013 echo 25
7    
8 niro 1034 ${INSTALLER_DIR}/include/prepare_networking.sh &> /dev/null
9 niro 1013 echo 50
10    
11 niro 1034 ${INSTALLER_DIR}/include/prepare_fstab.sh &> /dev/null
12 niro 1013 echo 75
13    
14 niro 1034 ${INSTALLER_DIR}/include/prepare_initrd.sh &> /dev/null
15 niro 1013 echo 100
16     }
17    
18     # fake_process()
19     # {
20     # sleep 1
21     # #echo 25
22     # echo -e "\nXXX\nNew Message\nXXX\n25"
23     #
24     # sleep 1
25     # #echo 50
26     # echo -e "\nXXX\nNew Message2\nXXX\n50"
27     #
28     # sleep 1
29     # #echo 75
30     # echo -e "\nXXX\nNew Message3\nXXX\n75"
31     #
32     # sleep 1
33     # echo 100
34     # }
35    
36     main_install()
37     {
38 niro 1034 ${INSTALLER_DIR}/include/prepare_disks.sh --format | gauge "Installing" "Formating disks..." 10 70
39     ${INSTALLER_DIR}/include/prepare_disks.sh --mount
40 niro 1013
41 niro 1034 ${INSTALLER_DIR}/include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system..." 10 70
42 niro 1013
43     system_setup | gauge "Installing" "Setup system settings..." 10 70
44 niro 1034 ${INSTALLER_DIR}/include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70
45 niro 1013
46 niro 1034 ${INSTALLER_DIR}/include/prepare_disks.sh --umount
47 niro 1013 }
48    
49     # main_install()
50     # {
51     # fake_process | gauge "Installing" "Formating disks..." 10 70
52     # fake_process | gauge "Installing" "Installing system..." 10 70
53     # fake_process | gauge "Installing" "Setup system settings..." 10 70
54     # fake_process | gauge "Installing" "Installing Bootloader..." 10 70
55     #
56     # include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system...\n\n" 10 70
57     # }

Properties

Name Value
svn:keywords Id