yast2 |
modules/Mode.ycp |
Installation mode | |
|
|
This module has an unstable interface. |
Provide installation mode information.
Mostly values from /etc/install.inf
See linuxrc documentation for detailed docs about this.
Global Functions
Local Variables |
Current mode
Current testing mode
We do one automatic check whether _test should be set to testsuite.
Current UI mode
initialize everything from command-line of y2base
Returns the current mode name. It's one of "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"
Returns the current UI mode. It's one of "commandline", "dialog", "none"
we're doing a fresh installation
we're doing a fresh installation from live CD/DVD
we're doing an update
normal, running system
start repair module
doing auto-installation
configuration for auto-installation, only in running system
Just testing. See installation/Test-Scripts/doit*
dump screens to /tmp. Implies demo . See installation/Test-Scripts/yast2-screen-shots*
Returns whether running in testsuite.
we're running in command line interface
- Return value:
-
true if command-line is running