Skip to content

Commit

Permalink
set timeout via product settings
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 26, 2023
1 parent 436317a commit f4c781b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/bootloader/systemdboot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

Yast.import "Report"
Yast.import "Arch"
Yast.import "Product"
Yast.import "ProductFeatures"

module Bootloader
# Represents systemd bootloader with efi target
Expand All @@ -24,7 +26,7 @@ def initialize
super

textdomain "bootloader"
self.menue_timeout = 10
self.menue_timeout = Yast::ProductFeatures.GetIntegerFeature("globals", "boot_timeout").to_i
end

def read
Expand Down

0 comments on commit f4c781b

Please sign in to comment.