Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1013 - (hide annotations) (download) (as text)
Sun May 30 17:33:29 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 1295 byte(s)
-added ncurses-gui
1 niro 1013 # $Id$
2    
3     system_setup()
4     {
5     include/prepare_auth.sh &> /dev/null
6     echo 25
7    
8     include/prepare_networking.sh &> /dev/null
9     echo 50
10    
11     include/prepare_fstab.sh &> /dev/null
12     echo 75
13    
14     include/prepare_initrd.sh &> /dev/null
15     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     include/prepare_disks.sh --format | gauge "Installing" "Formating disks..." 10 70
39     include/prepare_disks.sh --mount
40    
41     include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system..." 10 70
42    
43     system_setup | gauge "Installing" "Setup system settings..." 10 70
44     include/prepare_bootloader | gauge "Installing" "Installing Bootloader..." 10 70
45    
46     include/prepare_disks.sh --umount
47     }
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