150. NetworkService

Init script handling, ifup vs NetworkManager

150.1. Summary of Module Globals

List of Global Functions

  • ConfirmNetworkManager - Opens up a continue/cancel confirmation popup in the case when NetworkManager is enabled. User is informed that continuing the configuration may produce undefined results. If NetworkManager is not used, silently returns true.

  • EnableDisable - Enables and disables the appropriate services.

  • IsManaged - Whether use NetworkManager or ifup

  • Read - Initialize module data

  • RunningNetworkPopup - If there is network running, return true. Otherwise show error popup depending on Mode and return false

  • SetManaged -

  • StartStop - Starts and stops the appropriate services.

List of Global Variables

    150.2. Global Functions

    150.2.1. ConfirmNetworkManager

    Opens up a continue/cancel confirmation popup in the case when NetworkManager is enabled. User is informed that continuing the configuration may produce undefined results. If NetworkManager is not used, silently returns true.

    Return value

    • boolean - continue

    150.2.2. EnableDisable

    Enables and disables the appropriate services.

    Return value

    • void

    150.2.3. IsManaged

    Whether use NetworkManager or ifup

    Return value

    • boolean

    150.2.4. Read

    Initialize module data

    Return value

    • void

    150.2.5. RunningNetworkPopup

    If there is network running, return true. Otherwise show error popup depending on Mode and return false

    Return value

    • boolean - true if network running

    150.2.6. SetManaged

    Function parameters

    • boolean m

    Return value

    • void

    150.2.7. StartStop

    Starts and stops the appropriate services.

    Return value

    • void

    150.3. Global Variables

    150.4. Module Requirements

    150.4.1. Module Imports

    • Mode
    • NetworkConfig
    • Popup
    • Service

    150.4.2. Module Includes