YaST2 Developers Documentation: Configuration of AutoOnlineUpdate

Configuration of AutoOnlineUpdate

modules/AutoOnlineUpdate.ycp
Data for configuration of AutoOnlineUpdate, input and output functions.

This module has an unstable interface.

Representation of the configuration of AutoOnlineUpdate. Input and output routines.

Imports

  • Mode
  • Report
  • Summary

Global Variables

Global Functions

global random_time -> boolean

Random time for autoyast to prevent DOS

global timing -> symbol

Timing of automated updates: daily, weekly

global write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

global minute -> integer

time of execution (minute)

global hour -> integer

time of execution (hour)

global options -> string

online_update options

global autoget -> boolean

Only get patches

global skipPre -> boolean

Skip patches with pre-install information

global enabled -> boolean

Auto update enabled

global cronfile -> string

Location of the cron file

global SetModified () -> void

Function sets internal variable, which indicates, that any settings were modified, to "true"

global GetModified () -> boolean

Functions which returns if the settings were modified

Return value:
settings were modified
global Read () -> boolean

Read all AutoOnlineUpdate settings

Return value:
true on success
global Write () -> boolean

Write all AutoOnlineUpdate settings

Return value:
true on success
global Import (map settings) -> boolean

Get all AutoOnlineUpdate settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the AutoOnlineUpdate settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> string

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global AutoPackages () -> map

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.