46. Confirm

Confirmation routines

46.1. Summary of Module Globals

List of Global Functions

  • Delete - Opens a popup yes/no confirmation.

  • DeleteSelected - Opens a popup yes/no confirmation.

  • Detection - Confirm hardware detection (only in manual installation)

  • MustBeRoot - If we are running as root, return true. Otherwise ask the user whether we should continue even though things might not work

List of Global Variables

    46.2. Global Functions

    46.2.1. Delete

    Opens a popup yes/no confirmation.

    Function parameters

    • string delete

    Return value

    • boolean - delete selected entry

    46.2.2. DeleteSelected

    Opens a popup yes/no confirmation.

    Return value

    • boolean - delete selected entry

    46.2.3. Detection

    Confirm hardware detection (only in manual installation)

    Function parameters

    • string class

    Return value

    • boolean - true on continue

    46.2.4. MustBeRoot

    If we are running as root, return true. Otherwise ask the user whether we should continue even though things might not work

    Return value

    • boolean - true if running as root

    46.3. Global Variables

    46.4. Module Requirements

    46.4.1. Module Imports

    • Label
    • Linuxrc
    • Mode
    • Popup
    • Stage

    46.4.2. Module Includes