
functions
files
intro
|
|
NFS server
|
ui.ycp
|
|
Network NFS server dialogs
|
|
|
|
Network NFS server dialogs
Imports
- CWMFirewallInterfaces
- Label
- Mode
- NfsServer
- Popup
- Sequencer
- Wizard
Includes
Local Variables
Local Functions
|
|
|
|
local spaces_allowed -> boolean
|
|
The kernel-based server can handle spaces in paths,
the user-mode server cannot.
|
local GetDirectory (string mountpoint, list<map> exports) -> string
|
|
Ask user for a directory to export. Allow browsing.
- Parameters:
|
mountpoint |
default value |
|
exports |
exports list to check for duplicates |
- Return value:
|
|
a path to export or nil if cancelled |
|
local use_star_for_anonymous -> boolean
|
|
The kernel based server complains about an empty host specification
and wants us to use "*". But the user mode server would match it
only with an unqualified name. We must not use "*" there
to mean an anonymous client.
|
local GetAllowedHosts (string hosts, string opts, list<string> allowed) -> list<string>
|
|
Ask user for an entry for the allowed hosts list.
- Parameters:
|
hosts |
hosts default value |
|
opts |
options default value |
|
allowed |
current list, to check for duplicates |
- Return value:
|
|
[newhosts, newopts] or nil if cancelled. Options without parentheses. |
|
local BeginDialog () -> symbol
|
|
Opening NFS server dialog
- Return value:
|
|
`back, `abort, `next `or finish |
|
local ExportsDialog () -> symbol
|
|
Exports dialog itself
- Return value:
|
local NfsServerAutoSequence () -> symbol
|
|
Whole configuration of NfsServer but without reading and writing.
For use with autoinstallation.
- Return value:
|