1 |
#! /bin/bash |
#! /bin/bash |
2 |
# $Id$ |
# $Id$ |
3 |
|
|
4 |
|
# global config |
5 |
|
source /etc/installer.conf |
6 |
|
|
7 |
# helper scripts |
# helper scripts |
8 |
source include/functions.sh |
source ${INSTALLER_DIR}/include/functions.sh |
9 |
source include/hwdetection.sh |
source ${INSTALLER_DIR}/include/hwdetection.sh |
10 |
|
|
11 |
# gui |
# gui |
12 |
source gtk-gui/common.sh |
source ${INSTALLER_DIR}/gtk-gui/common.sh |
13 |
source gtk-gui/locales.sh |
source ${INSTALLER_DIR}/gtk-gui/locales.sh |
14 |
source gtk-gui/networking.sh |
source ${INSTALLER_DIR}/gtk-gui/networking.sh |
15 |
source gtk-gui/diskpartition.sh |
source ${INSTALLER_DIR}/gtk-gui/diskpartition.sh |
16 |
source gtk-gui/usermanagement.sh |
source ${INSTALLER_DIR}/gtk-gui/usermanagement.sh |
17 |
source gtk-gui/install.sh |
source ${INSTALLER_DIR}/gtk-gui/install.sh |
18 |
|
|
19 |
# install root |
# install root |
20 |
INSTALL_ROOT="/mnt/magellan" |
INSTALL_ROOT="/mnt/magellan" |
73 |
|
|
74 |
|
|
75 |
# set a reasonable background |
# set a reasonable background |
76 |
sleep 0.1; fbsetbg -f data/background.png |
sleep 0.1; fbsetbg -f ${INSTALLER_DIR}/data/background.png |
77 |
|
|
78 |
|
# change into ${INSTALLER_DIR} to simplify gtkdialogs includes |
79 |
|
pushd ${INSTALLER_DIR} |
80 |
|
|
81 |
# start the program |
# start the program |
82 |
rundialog WELCOME |
rundialog WELCOME |
129 |
# end of everything |
# end of everything |
130 |
rundialog FINISH |
rundialog FINISH |
131 |
|
|
132 |
|
# get back |
133 |
|
popd |
134 |
|
|
135 |
exit 0 |
exit 0 |