YaST2 Developers Documentation: Network/YPServer



functions
files
intro

Network/YPServer

routines.ycp
YPServer module.
YPServer module part.

Imports

  • NisServer
  • Service

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

YaST2 Developers Documentation