Skip to content

Commit

Permalink
Merge pull request #23 from yast/SLE-12-SP3_bnc_1047232
Browse files Browse the repository at this point in the history
added StartDaemon flag
  • Loading branch information
schubi2 committed Jul 10, 2017
2 parents 6a75fca + a576ce4 commit 7007546
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-ftp-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 10 14:20:16 CEST 2017 - schubi@suse.de

- Added missing StartDaemon flag to internal data structure in
order to read it from the AY configuration file. (bnc#1047232)
- 3.2.2

-------------------------------------------------------------------
Wed Jan 4 17:00:41 UTC 2017 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-ftp-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-ftp-server
Version: 3.2.1
Version: 3.2.2
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
6 changes: 5 additions & 1 deletion src/modules/FtpServer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,11 @@ def Import(settings)
InitDaemon()

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

# StartDaemon 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 7007546

Please sign in to comment.