
functions
files
intro
|
|
Network/YPServer
|
routines.ycp
|
YPServer module.
|
|
|
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:
- Return 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 |
|