lib/yast2_widget_utils.pm

yast2_widget_utils.pm

This module provides helper functions for handling YaST widgets in text and graphical mode.

verify_service_configuration

verify_service_configuration([status => $status]);

Verify service configuration: status. This will just verify assert_screen for yast2_ncurses_service_$status.

change_service_configuration

change_service_configuration([after_writing => $after_writing], [after_reboot => $after_reboot]);

Modify service configuration: "after writing" and/or "after reboot" steps

change_service_configuration_step

change_service_configuration_step($step_name, $step_conf_ref);

Modify one service configuration step.

$step_name is the name for change service configuration. It is a part of needle_selection which is used for needle match. $step_conf_ref is used together with 'keys' as a reference for $action. It is used also with 'values' as a reference for $shortcut. $action is a part of needle_selection which is used for needle match.