menu.lua (fa4a2394a76aadd0702ff5b7eeb7387b678b34a8) | menu.lua (b140d14b02f2ee483806d0eeaaa2b29c6bb5463e) |
---|---|
1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- All rights reserved. 4-- 5-- Redistribution and use in source and binary forms, with or without 6-- modification, are permitted provided that the following conditions 7-- are met: 8-- 1. Redistributions of source code must retain the above copyright --- 324 unchanged lines hidden (view full) --- 333 config.loadelf(); 334 return false; 335 end 336 337 return true; 338end 339 340function menu.skip() | 1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- All rights reserved. 4-- 5-- Redistribution and use in source and binary forms, with or without 6-- modification, are permitted provided that the following conditions 7-- are met: 8-- 1. Redistributions of source code must retain the above copyright --- 324 unchanged lines hidden (view full) --- 333 config.loadelf(); 334 return false; 335 end 336 337 return true; 338end 339 340function menu.skip() |
341 if (core.bootserial() )then | 341 if (core.isSerialBoot())then |
342 return true; 343 end 344 local c = string.lower(loader.getenv("console") or ""); 345 if ((c:match("^efi[ ;]") or c:match("[ ;]efi[ ;]")) ~= nil) then 346 return true; 347 end 348 349 c = string.lower(loader.getenv("beastie_disable") or ""); --- 59 unchanged lines hidden --- | 342 return true; 343 end 344 local c = string.lower(loader.getenv("console") or ""); 345 if ((c:match("^efi[ ;]") or c:match("[ ;]efi[ ;]")) ~= nil) then 346 return true; 347 end 348 349 c = string.lower(loader.getenv("beastie_disable") or ""); --- 59 unchanged lines hidden --- |