Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151295389
D49819.id153766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49819.id153766.diff
View Options
diff --git a/stand/defaults/loader.conf.5 b/stand/defaults/loader.conf.5
--- a/stand/defaults/loader.conf.5
+++ b/stand/defaults/loader.conf.5
@@ -410,6 +410,10 @@
If set to
.Dq YES ,
the beastie boot menu will be skipped.
+.It Va loader_autoboot_show Pq Dq Li YES
+If set to
+.Dq NO ,
+the autoboot menu will not be displayed
.It Va loader_logo Pq Dq Li orbbw
Selects a desired logo in the beastie boot menu.
Possible values are:
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -541,6 +541,7 @@
function menu.autoboot(delay)
local x = loader.getenv("loader_menu_timeout_x") or 4
local y = loader.getenv("loader_menu_timeout_y") or 24
+ local autoboot_show = loader.getenv("loader_autoboot_show") or "yes"
local endtime = loader.time() + delay
local time
local last
@@ -548,10 +549,12 @@
time = endtime - loader.time()
if last == nil or last ~= time then
last = time
- screen.setcursor(x, y)
- printc("Autoboot in " .. time ..
- " seconds. [Space] to pause ")
- screen.defcursor()
+ if autoboot_show == "yes" then
+ screen.setcursor(x, y)
+ printc("Autoboot in " .. time ..
+ " seconds. [Space] to pause ")
+ screen.defcursor()
+ end
end
if io.ischar() then
local ch = io.getchar()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 9:44 AM (12 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31092502
Default Alt Text
D49819.id153766.diff (1 KB)
Attached To
Mode
D49819: loader: Add loader_autoboot_show
Attached
Detach File
Event Timeline
Log In to Comment