137. Mode

Installation mode

137.1. Summary of Module Globals

List of Global Functions

  • Initialize - initialize everything from command-line of y2base

  • autoinst - doing auto-installation

  • commandline - we're running in command line interface

  • config - configuration for auto-installation, only in running system

  • installation - we're doing a fresh installation

  • live_installation - we're doing a fresh installation from live CD/DVD

  • mode - Returns the current mode name. It's one of "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"

  • normal - normal, running system

  • repair - start repair module

  • screen_shot - dump screens to /tmp. Implies @ref #demo . See installation/Test-Scripts/yast2-screen-shots*

  • test - Just testing. See installation/Test-Scripts/doit*

  • testsuite - Returns whether running in testsuite.

  • ui - Returns the current UI mode. It's one of "commandline", "dialog", "none"

  • update - we're doing an update

List of Global Variables

    137.2. Global Functions

    137.2.1. Initialize

    initialize everything from command-line of y2base

    Return value

    • void

    137.2.2. autoinst

    doing auto-installation

    Return value

    • boolean

    137.2.3. commandline

    we're running in command line interface

    Return value

    • boolean - true if command-line is running

    137.2.4. config

    configuration for auto-installation, only in running system

    Return value

    • boolean

    137.2.5. installation

    we're doing a fresh installation

    Return value

    • boolean

    137.2.6. live_installation

    we're doing a fresh installation from live CD/DVD

    Return value

    • boolean

    137.2.7. mode

    Returns the current mode name. It's one of "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"

    Return value

    • string

    137.2.8. normal

    normal, running system

    Return value

    • boolean

    137.2.9. repair

    start repair module

    Return value

    • boolean

    137.2.10. screen_shot

    dump screens to /tmp. Implies @ref #demo . See installation/Test-Scripts/yast2-screen-shots*

    Return value

    • boolean

    137.2.11. test

    Just testing. See installation/Test-Scripts/doit*

    Return value

    • boolean

    137.2.12. testsuite

    Returns whether running in testsuite.

    Return value

    • boolean

    137.2.13. ui

    Returns the current UI mode. It's one of "commandline", "dialog", "none"

    Return value

    • string

    137.2.14. update

    we're doing an update

    Return value

    • boolean

    137.3. Global Variables

    137.4. Module Requirements

    none