149. NetworkService

Init script handling, ifup vs NetworkManager

149.1. Authors

  • Martin Vidner <mvidner@suse.cz>

149.2. 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

    149.3. Global Functions

    149.3.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

    149.3.2. EnableDisable

    Enables and disables the appropriate services.

    Return value

    • void

    149.3.3. IsManaged

    Whether use NetworkManager or ifup

    Return value

    • boolean

    149.3.4. Read

    Initialize module data

    Return value

    • void

    149.3.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

    149.3.6. SetManaged

    Function parameters

    • boolean m

    Return value

    • void

    149.3.7. StartStop

    Starts and stops the appropriate services.

    Return value

    • void

    149.4. Global Variables

    149.5. Module Requirements

    149.5.1. Module Imports

    • Mode
    • NetworkConfig
    • Popup
    • Service

    149.5.2. Module Includes