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