Network configuration |
modules/NetworkService.ycp |
Init script handling, ifup vs NetworkManager | |
|
|
This module has an unstable interface. |
This module used to switch between rcnetwork and rcnetworkmanager.
Now the master switch is /etc/sysconfig/network/config:NETWORKMANAGER
Imports
Global Functions
Local Variables |
local
initialized
->
boolean
if false, read needs to do work
global
IsManaged ()
->
boolean
Whether use NetworkManager or ifup
global
SetManaged (boolean m)
->
void
- Parameters:
-
m whether networkmanager will be used
global
Read ()
->
void
Initialize module data
global
EnableDisable ()
->
void
Enables and disables the appropriate services.
global
StartStop ()
->
void
Starts and stops the appropriate services.
global
ConfirmNetworkManager ()
->
boolean
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:
-
continue
global
RunningNetworkPopup ()
->
boolean
If there is network running, return true. Otherwise show error popup depending on Mode and return false
- Return value:
-
true if network running