164. NetworkService

Init script handling, ifup vs NetworkManager

164.1. Authors

  • Martin Vidner <mvidner@suse.cz>

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

    164.3. Global Functions

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

    164.3.2. EnableDisable

    Enables and disables the appropriate services.

    Return value

    • void

    164.3.3. IsManaged

    Whether use NetworkManager or ifup

    Return value

    • boolean

    164.3.4. Read

    Initialize module data

    Return value

    • void

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

    164.3.6. SetManaged

    Function parameters

    • boolean m

    Return value

    • void

    164.3.7. StartStop

    Starts and stops the appropriate services.

    Return value

    • void

    164.4. Global Variables

    164.5. Module Requirements

    164.5.1. Module Imports

    • Mode
    • NetworkConfig
    • Popup
    • Service

    164.5.2. Module Includes