Configuration of nfs |
ui.ycp |
Network NFS client dialogs | |
|
|
This module has an unstable interface. |
Network NFS client dialogs
Imports
Includes
Local VariablesLocal Functions |
local
ReadDialog ()
->
symbol
Read settings dialog
- Return value:
-
`abort if aborted and `next otherwise
local
WriteDialog ()
->
symbol
Write settings dialog
- Return value:
-
`abort if aborted and `next otherwise
local
hosts
->
list<string>
Caches names of nfs servers for GetFstabEntry
local
ChooseItem (string title, list<string> items)
->
string
Let the user choose one of a list of items
- Parameters:
-
title selectionbox title items a list of items
- Return value:
-
one item or nil
local
ChooseHostName (list<string> hosts)
->
string
Give me one name from the list of hosts
- Parameters:
-
hosts a list of hostnames
- Return value:
-
a hostname
local
ChooseExport (list<string> exports)
->
string
Give me one name from the list of exports
- Parameters:
-
exports a list of exports
- Return value:
-
an export
local
TextAndButton (term text, term button)
->
term
Nicely put a `TextEntry and its helper `PushButton together
- Parameters:
-
text textentry widget button pushbutton widget
- Return value:
-
a HBox
local
GetFstabEntry (map<string,any> fstab_ent, list<map> existing)
->
map<string,any>
Ask user for an entry.
- Parameters:
-
fstab_ent $["spec": "file": "mntopts":] or nil existing list of fstab entries for duplicate mount-point checking
- Return value:
-
a nfs_entry or nil
local
FstabDialog ()
->
symbol
NFS client dialog itselfs
- Return value:
-
`back, `abort or `next