Configuration of NIS |
include/nis/ui.ycp |
User interface functions. | |
|
|
This module has an unstable interface. |
All user interface functions.
Imports
StructuresLocal VariablesLocal Functions
|
A Wizard Sequencer helper
- Return value:
-
`next
The dialog that appears when the [Abort] button is pressed.
- Parameters:
-
touched data modified?
- Return value:
-
`abort if user really wants to abort, `back otherwise
Pop up a warning if dhcp does not provide nis configuration
Let the user choose some of a list of items
- Parameters:
-
title selectionbox title items a list of items
- Return value:
-
items or nil on cancel
A cache of NIS servers found on the LAN for each domain.
- See
-
SelectNisServers
Scan the network for NIS servers and let the user select among them.
- Parameters:
-
domain which domain
- Return value:
-
space separated list of servers or ""
The simple dialog
- Return value:
-
`back, `abort, `next, `multiple or `expert
The expert dialog
- Return value:
-
`back, `abort or `next
Constructs items for the domain table
- Parameters:
-
default_d the default domain all_servers map of server_sp
- Return value:
-
a list of items
- Parameters:
-
default_d the default domain all_servers show these items d the selected item
- Parameters:
-
m a map
- Return value:
-
keys of the map
Structure server_sp
0 list(string) server list 1 boolean broadcast
The servers dialog
- Return value:
-
`back, `abort or `next
Confirmation dialog Also probes for packages that need to be installed (autofs) #23050 don't display the dialog
- Return value:
-
`back or `next
Dhcpcd writes yp.conf in the multidomain form. Let's try rewriting it so that it fits into the simple dialog. It is done only after read.
The normal workflow
- Return value:
-
`back, `abort or `next
The autoinstallation workflow
- Return value:
-
`back, `abort or `next