Module: Yast::NetworkRuntimeInclude

Defined in:
src/include/network/runtime.rb

Instance Method Summary collapse

Instance Method Details

#initialize_network_runtime(_include_target) ⇒ Object


31
32
33
# File 'src/include/network/runtime.rb', line 31

def initialize_network_runtime(_include_target)
  textdomain "network"
end

#update_mta_configObject

Runs external script which updates MTA's configuration.

Currently supported MTAs:

  • sendmail
  • postfix

40
41
42
43
44
45
46
# File 'src/include/network/runtime.rb', line 40

def update_mta_config
  Builtins.y2milestone("Updating sendmail and/or postfix configuration.")
  SCR.Execute(
    path(".target.bash"),
    "/usr/lib/sendmail.d/update 2>/dev/null"
  )
end