Skip to content

Commit

Permalink
fix blink button to use new backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 2, 2019
1 parent 2aa2f04 commit cd458a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2network/widgets/blink_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def contents
end

def handle
device = @settings["IFCFG"]
device = @settings.name
timeout = Yast::UI.QueryWidget(:blink_time, :Value)
log.info "blink, blink ... #{timeout} seconds on #{device} device"
cmd = "/usr/sbin/ethtool -p #{device.shellescape} #{timeout.to_i}"
Expand Down

0 comments on commit cd458a0

Please sign in to comment.