Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// https://github.com/yast/yast-ruby-bindings/issues/23
// Y2DEBUG=1 /usr/lib/YaST2/bin/y2base -l - ~/snippets/dummy-location.ycp UI |& grep SECRET
{
term dummy_data = `DataMap($[], $[], $[], "DEFAULT");
// YCP:
// [agent-dummy] snippets/dummy-location.ycp:8 LOGTHIS_SECRET_314 Read .target.bash "ls" "DEFAULT"
// RB:
// [agent-dummy] :0 LOGTHIS_SECRET_314 Read .target.bash "ls" "DEFAULT"
SCR::RegisterAgent (.dummy, `ag_dummy(dummy_data));
any a = SCR::Read (.dummy.target.bash, "ls");
y2milestone ("%1", a);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.