Module: Yast::NetworkRuntimeInclude
- Defined in:
- ../../src/include/network/runtime.rb
Instance Method Summary (collapse)
- - (Object) initialize_network_runtime(include_target)
-
- (Object) update_mta_config
Runs external script which updates MTA's configuration.
Instance Method Details
- (Object) initialize_network_runtime(include_target)
31 32 33 |
# File '../../src/include/network/runtime.rb', line 31 def initialize_network_runtime(include_target) textdomain "network" end |
- (Object) update_mta_config
Runs external script which updates MTA's configuration.
Currently supported MTAs: - sendmail - postfix
40 41 42 43 44 45 46 47 |
# 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" ) SCR.Execute(path(".target.bash"), "/usr/sbin/config.postfix 2>/dev/null") end |