Class: Yast::SccAutoClient

Inherits:
Client
  • Object
show all
Extended by:
I18n
Includes:
ERB::Util, Logger
Defined in:
src/clients/scc_auto.rb

Constant Summary collapse

CONTACTING_MESSAGE =

popup message

N_("Contacting the Registration Server")

Instance Method Summary collapse

Instance Method Details

#mainObject


51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'src/clients/scc_auto.rb', line 51

def main
  textdomain "registration"
  import_modules

  log.info "scc_auto started"

  @config = ::Registration::Storage::Config.instance
  func = WFM.Args[0]
  param = WFM.Args[1] || {}
  log.info "func: #{func}, param: #{::Registration::Helpers.hide_reg_codes(param)}"

  ret = handle_autoyast(func, param)

  log.info "scc_auto finished"
  ret
end