Skip to content

Commit

Permalink
Network: Check which backend is in use when systemd is running
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Oct 29, 2019
1 parent 464b54c commit 53f0080
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/network/src/modules/NetworkService.rb
Expand Up @@ -76,6 +76,7 @@ def main
Yast.import "Mode"
Yast.import "Stage"
Yast.import "PackageSystem"
Yast.import "Systemd"

textdomain "base"

Expand Down Expand Up @@ -190,7 +191,7 @@ def disable
def Read
return if @initialized

if Stage.initial
if Stage.initial && !Systemd.Running
@current_name = DEFAULT_BACKEND
log.info "Running in installer/AutoYaST, use default: #{@current_name}"
else
Expand Down

0 comments on commit 53f0080

Please sign in to comment.