# $Id$ system_setup() { ${INSTALLER_DIR}/include/prepare_auth.sh &> /dev/null echo 25 ${INSTALLER_DIR}/include/prepare_networking.sh &> /dev/null echo 50 ${INSTALLER_DIR}/include/prepare_fstab.sh &> /dev/null echo 75 ${INSTALLER_DIR}/include/prepare_initrd.sh &> /dev/null echo 100 } # fake_process() # { # sleep 1 # #echo 25 # echo -e "\nXXX\nNew Message\nXXX\n25" # # sleep 1 # #echo 50 # echo -e "\nXXX\nNew Message2\nXXX\n50" # # sleep 1 # #echo 75 # echo -e "\nXXX\nNew Message3\nXXX\n75" # # sleep 1 # echo 100 # } main_install() { ${INSTALLER_DIR}/include/prepare_disks.sh --format | gauge "Installing" "Formating disks..." 10 70 ${INSTALLER_DIR}/include/prepare_disks.sh --mount ${INSTALLER_DIR}/include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system..." 10 70 system_setup | gauge "Installing" "Setup system settings..." 10 70 ${INSTALLER_DIR}/include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70 ${INSTALLER_DIR}/include/prepare_disks.sh --umount } # main_install() # { # fake_process | gauge "Installing" "Formating disks..." 10 70 # fake_process | gauge "Installing" "Installing system..." 10 70 # fake_process | gauge "Installing" "Setup system settings..." 10 70 # fake_process | gauge "Installing" "Installing Bootloader..." 10 70 # # include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system...\n\n" 10 70 # }