menu.lua (25c4c7a5f3fac189695405094bb89bcc068c3728) | menu.lua (c1ab36f54de61baa5afb53b4e4d87a0553a035e0) |
---|---|
1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- Copyright (C) 2018 Kyle Evans <kevans@FreeBSD.org> 4-- All rights reserved. 5-- 6-- Redistribution and use in source and binary forms, with or without 7-- modification, are permitted provided that the following conditions 8-- are met: --- 114 unchanged lines hidden (view full) --- 123 name = function() 124 return "Boot Options:"; 125 end 126 }, 127 128 -- acpi 129 { 130 entry_type = core.MENU_ENTRY, | 1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- Copyright (C) 2018 Kyle Evans <kevans@FreeBSD.org> 4-- All rights reserved. 5-- 6-- Redistribution and use in source and binary forms, with or without 7-- modification, are permitted provided that the following conditions 8-- are met: --- 114 unchanged lines hidden (view full) --- 123 name = function() 124 return "Boot Options:"; 125 end 126 }, 127 128 -- acpi 129 { 130 entry_type = core.MENU_ENTRY, |
131 visible = core.isSystem386, |
|
131 name = function() 132 return OnOff(color.highlight("A") .. 133 "CPI :", core.acpi); 134 end, 135 func = function() 136 core.setACPI(); 137 end, 138 alias = {"a", "A"} --- 322 unchanged lines hidden --- | 132 name = function() 133 return OnOff(color.highlight("A") .. 134 "CPI :", core.acpi); 135 end, 136 func = function() 137 core.setACPI(); 138 end, 139 alias = {"a", "A"} --- 322 unchanged lines hidden --- |