Network/YPServer |
routines.ycp |
YPServer module. | |
|
|
This module has an unstable interface. |
YPServer module part.
Imports
Local Functions |
local
toboolean (any arg)
->
boolean
Converts from any type to boolean: true, "true" and nonzero integers are true, everything else including nil is false.
- Parameters:
-
arg argument to convert
- Return value:
-
converted value
local
isYPServerConfigured ()
->
boolean
- Return value:
-
Checks if the YP server was already configured by reading the SCR, not the module data (not to confuse the user if he backs up to the first dialog)
local
SlaveExists ()
->
symbol
Decides whether slave exists (according to makefile.NOPUSH)
- Return value:
-
`have_slave or `none_slave
local
hasMasterThisSlave ()
->
boolean
- Return value:
-
Checks if this host is in the slaves list on master
local
CheckForDHCPClient (string domain)
->
void
Do the check if DHCP client is able to change domain name and warn user about this (see bug #28727)
- Parameters:
-
domain
local
GetFirewallWidget ()
->
map<string,any>
Create the widget for opening firewall ports