
functions
files
intro
|
|
Configuration of NIS
|
include/nis/ui.ycp
|
User interface functions.
|
|
|
All user interface functions.
Imports
- Autologin
- Label
- Mode
- Nis
- Popup
- Require
- Sequencer
- Wizard
Structures
Local Variables
Local Functions
|
|
|
local JustNext () -> symbol
|
|
A Wizard Sequencer helper
- Return value:
local ReallyAbort (boolean touched) -> boolean
|
|
The dialog that appears when the [Abort] button is pressed.
- Parameters:
- Return value:
|
`abort if user really wants to abort, `back otherwise |
local WarnIfDhcpNotServed () -> void
|
|
Pop up a warning if dhcp does not provide nis configuration
local ChooseItems (string title, list<string> items) -> list<string>
|
|
Let the user choose some of a list of items
- Parameters:
title |
selectionbox title |
items |
a list of items |
- Return value:
local found_servers -> map
|
|
A cache of NIS servers found on the LAN for each domain.
- See:
-
local SelectNisServers (string domain) -> string
|
|
Scan the network for NIS servers and let the user select among them.
- Parameters:
- Return value:
|
space separated list of servers or "" |
local MainDialog () -> symbol
|
|
The simple dialog
- Return value:
|
`back, `abort, `next, `multiple or `expert |
local ExpertDialog () -> symbol
|
|
The expert dialog
- Return value:
local DomainTableItems (string default_d, map<string,list> all_servers) -> list
|
|
Constructs items for the domain table
- Parameters:
default_d |
the default domain |
all_servers |
map of server_sp |
- Return value:
- See:
-
local UpdateDomainTable (string default_d, map<string,list> all_servers, string d) -> void
|
|
- Parameters:
default_d |
the default domain |
all_servers |
show these items |
d |
the selected item |
local mapkeys (map m) -> list
|
|
- Parameters:
- Return value:
Structure server_sp
0 list(string) server list
1 boolean broadcast
local AdditionalDialog () -> symbol
|
|
The servers dialog
- Return value:
The switch dialog.
Selects NIS: off/on, Automount off/on
- Return value:
|
`back, `abort, `next, `finish |
local SaveDialog () -> symbol
|
|
Confirmation dialog
Also probes for packages that need to be installed (autofs)
#23050 don't display the dialog
- Return value:
local FitIntoSingle () -> void
|
|
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.
local NormalSequence () -> symbol
|
|
The normal workflow
- Return value:
local AutoSequence () -> symbol
|
|
The autoinstallation workflow
- Return value:
|