Skip to content

Commit

Permalink
keep it locally
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jul 10, 2017
1 parent eb211d2 commit 69469a7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/modules/FtpServer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -950,11 +950,6 @@ def Write
def Import(settings)
settings = deep_copy(settings)

# This setting is not a part of the general UI but is needed
# for the AutoYaST installation and is set in the AY configuration
# file. So we have to add it here too. (bnc#1047232)
@UI_keys << "StartDaemon"

# Evaluate the kind of ftpserver at first via xinetd....
# (bnc#892701)
IdFTPXinetd()
Expand All @@ -964,7 +959,11 @@ def Import(settings)
InitDaemon()

result = true
Builtins.foreach(@UI_keys) do |key|

# This setting is not a part of the general UI but is needed
# for the AutoYaST installation and is set in the AY configuration
# file. So we have to add it here too. (bnc#1047232)
Builtins.foreach(@UI_keys + ["StartDaemon"]) do |key|
val = Ops.get_string(settings, key)
Ops.set(@EDIT_SETTINGS, key, val) if val != nil
if val == nil
Expand Down

0 comments on commit 69469a7

Please sign in to comment.