Configuration of tftp-server |
include/tftp-server/dialogs.ycp |
Dialogs definitions |
|
|
Imports
- Label
- Mode
- Mode
- Popup
- Require
- TftpServer
- Wizard
Local Functions
|
|
|
local Packages () -> symbol
|
|
Check for required packaged to be installed
- Return value:
|
`abort if aborted and `next otherwise |
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 MainDialog () -> symbol
|
|
Main dialog
- Return value:
local ViewLogPopup () -> void
|
|
Display a log in a popup
greps tftp from /var/log/messages to a temporary file
and uses Popup::ShowFile on it
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:
local CheckDirectorySyntax (string dir) -> boolean
|
|
Must be an absolute path without whitespace.
- Parameters:
- Return value:
|