menu.lua (1f5696c7fd92009f7687b8c8eaf89c09eab72daa) menu.lua (c851839897bd827c373c86aef1b6b9d0f1cc538a)
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

--- 13 unchanged lines hidden (view full) ---

22-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24-- SUCH DAMAGE.
25--
26-- $FreeBSD$
27--
28
29
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

--- 13 unchanged lines hidden (view full) ---

22-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24-- SUCH DAMAGE.
25--
26-- $FreeBSD$
27--
28
29
30local menu = {};
31
32local core = require("core");
33local color = require("color");
34local config = require("config");
35local screen = require("screen");
36local drawer = require("drawer");
37
30local core = require("core");
31local color = require("color");
32local config = require("config");
33local screen = require("screen");
34local drawer = require("drawer");
35
36local menu = {};
37
38local OnOff;
39local skip;
40local run;
41local autoboot;
42local carousel_choices = {};
43
44-- loader menu tree is rooted at menu.welcome
45

--- 404 unchanged lines hidden ---
38local OnOff;
39local skip;
40local run;
41local autoboot;
42local carousel_choices = {};
43
44-- loader menu tree is rooted at menu.welcome
45

--- 404 unchanged lines hidden ---