similar to: LUA script to emulate PXE boot on USB

Displaying 20 results from an estimated 400 matches similar to: "LUA script to emulate PXE boot on USB"

2008 Dec 10
0
[PATCH 2/2] COM32: lua - add dmi library
Hi again, this is the second part of the patch extending lua. This time it adds the dmi functions (com32/modules/dmi*) to lua: dmi.supported(): returns true if DMI is supported dmi.gettable(): returns array of key, value pairs containing system info Sorry, but this patch does not apply cleanly if [PATCH 1/2] was applied before. There's just one line to fix in com32/lua/src/linit.c
2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
From: Hung-chi Lihn <hlihn at google.com> In the current Lua.c32 DMI implementation, it is a flat table with dotted names in table entries. It also misses a number DMI sub-tables. This patch, cleans up the DMI table structure using Lua's nested table structure and adds all missing DMI sub-tables. If a DMI sub-table is not supported by the hardware (not filled), then the corresponding
2014 Sep 25
1
localboot.lua: a lua.c32 script that uses DMI data to decide between localboot/chainloading
Hi, we use PXELINUX in our product to show a boot menu on client computers, with options like "Boot from local hard disk", "Install Windows", etc. Unfortunately, a lot of computers seem to have broken BIOSes and won't boot with the LOCALBOOT command, and need to be booted with chain.c32 instead. We also have encountered some computers where it works only the other way -
2010 Jul 06
0
patch syslinux DMI 4.01
Bonjour Erwan Juste pour me remettre, on a gagn? ensemble la petite finale baby foot ? Grenoble chez HP, fin 2009 ;-) J'ai commenc? ? jouer avec le module LUA de syslinux et suis tomb? sur des plantages sur les fonctions DMI M?me probl?me avec le module dmitest, mais pas avec HDT Probl?me plus ou moins aleatoire selon les hardware (bug plus souvent constat? en VMware, mais pas sur mon
2019 Nov 22
0
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
On Fri, Nov 22, 2019 at 12:52 PM Mika Westerberg <mika.westerberg at intel.com> wrote: > [cut] [I'm really running out of time for today, unfortunately.] > > > > The current design is mostly based on the PCI PM Spec 1.2, so it would > > > > be consequent to follow system-wide suspend in PM-runtime and avoid > > > > putting PCIe ports holding
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
From: Hung-chi Lihn <hlihn at google.com> The current Lua.c32 does not enable io.read() due to some missing library functions. However, this strongly limits the Lua script from getting user inputs and reading files (even in pxelinux via TFTP). This patch enables io.read() in Lua.c32 with some restrictions: 1. the io.read("*line") is fully supported. 2. the
2009 Aug 17
2
Accessing Asterisk gosub arguments in extensions.lua
How does one go about accessing gosub arguments from Asterisk in extensions.lua? For example, I have the following in extensions.conf: exten => 1000,1,Wait(1) exten => 1000,n,Gosub(functions,mytest,1("123")) exten => 1000,n,Hangup And then the following in extensions.lua: extensions = { functions = { ["mytest"] = function()
2010 Jul 26
1
PBX Lua with Asterisk ODBC
Hi All, I have a quick question with regards the pbx_lua module. Would the lua dialplan have direct access to the odbc configuration within Asterisk, those odbc connections/dsn's that are defined in res_odbc.conf/extconfig.conf/cdr.conf? Thanks Bruce
2010 Sep 29
0
using Lua to check gPXE extensions
I saw Geoff Lywood's patch to check gPXE functionnality, it is very interesting. Would it make sense to make add the gPXE availability flag inside the Lua interpreter? In my case, I would use it to detect if I can boot Windows PE the old-fashioned way by tftp or if I can download an ISO by http and boot it with memdisk. -- Alexandre Blanchette <blanalex at gmail.com>
2010 Dec 07
0
DUNDi and Lua dialplan
Hello, I would like to known how to use DUNDi with a Lua dialplan ? In extensions.conf, we should do like these: |[lookupdundi] switch => DUNDi/priv [internal] include => dundiextens include => lookupdundi exten => _XXXX,2,NoOp(calling ${EXTEN}) exten => _XXXX,n,Dial(SIP/${EXTEN}) exten => _XXXX,n,Hangup()| priority 1 is either defined in dundiextens (local registered
2012 Nov 23
1
[PATCH] lua: fix build error due to LUA_GLOBALSINDEX usage
lua 5.2 changed API, LUA_GLOBALSINDEX is no longer available. http://www.lua.org/manual/5.2/manual.html#8.3 Signed-off-by: Olaf Hering <olaf at aepfle.de> --- Fix is only compile tested. generator/lua.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/lua.ml b/generator/lua.ml index 88748ae..7461cbd 100644 --- a/generator/lua.ml +++ b/generator/lua.ml @@
2009 Jan 06
1
Asterisk 1.6 and LUA
Hello all. I'm playing with LUA and I can't see a way to reload 'extensions.lua' after a change, except by restarting Asterisk. Any clue? Thanks. ----- Dominique Dartois
2011 Dec 13
1
AEL x LUA
Hello, I would like to receive some suggestions about dialplans written in lua, actually my dialplan is written in ael, but i'm having some problems with it. I noticed that asterisk just translates ael to the old extension language, does it do the same with lua? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Sep 12
1
lunamark - markdown in lua using a PEG grammar
Markersdown: I was fooling around with lua and decided to write a markdown parser using the terrific lpeg library. Here's the result: http://github.com/jgm/lunamark/tree/master There are already two markdown libraries for lua, one a native lua implementation based on global substitutions, the other a binding to discount. What makes lunamark different is that it is based on a PEG grammar
2011 Feb 15
1
Lua extensions are not working on asterisk 1.8.2.3
Hi, After compiling a installing asterisk 1.8.2.3 I wanted to play with lua but I noticed that extensions created in extensions.lua was not being registered with asterisk. uga1*CLI> dialplan show [ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ] 's' => 1. NoOp() [app_queue] [ Context
2010 Jul 02
1
[syslinux:master] Makefile: add lua.c32 to installables
Op 20100701 om 18:15 schreef syslinux-bot for H. Peter Anvin: > Commit-ID: 18de1534f9b69fb298a5b56e61919130d875b34b > Gitweb: http://syslinux.zytor.com/commit/18de1534f9b69fb298a5b56e61919130d875b34b > Author: H. Peter Anvin <hpa at linux.intel.com> > AuthorDate: Thu, 1 Jul 2010 18:12:41 -0700 > Committer: H. Peter Anvin <hpa at linux.intel.com> >
2009 Jun 17
1
Installing LUA
Hello, all. The little bit of reading I've done on lua makes me eager to give it a try. However, when I try to install it (Asterisk 1.6.1.1 on CentOS 5.3), it is not available in menuselect. I have installed lua and lua-devel. I've seen very little about it in my Internet searches. What else must I do so that it installs? Thanks - John Oh, by the way, I'm having a similar problem
2008 Jul 18
2
[GIT] Lua running as a com32 syslinux module
Hi. If anyone is interested, here is a working prototype: http://git.etherboot.org/?p=people/xl0/syslinux-lua.git;a=summary Os, io and math libraries are not compiled right now. Also, there are no bindings for any syslinux functions. Otherwise, everything should work just fine, like ISOLINUX 3.71 pre14-14-g8b9b72a* Copyright (C) 1994-2008 H. Peter Anvin Could not find kernel image: linux
2008 Dec 10
1
[PATCH 1/2] COM32: lua - add syslinux library
Hi, the attached patch adds a new call to lua (patch is against latest lua branch): syslinux.run_command(...) It's just a little glue to call syslinux_run_command() from lua. Other syslinux functions should be easy to add. usage: syslinux.run_command("memdisk initrd=/dos/BIOS/FSC-P7935-108.img raw") Bye, Marcel -------------- next part -------------- A non-text attachment
2008 Dec 12
0
[PATCH 1/1] COM32: lua - add pci library
Back again, the included patch adds pci functions from com32/modules/pcitest.c to lua. Example: -- get device info pciinfo = pci.getinfo() -- get plain text device description pciids = pci.getidlist("/pci.ids") -- list all pci busses for bind,businfo in pairs(pciinfo) do print("Bus: " .. bind .. " Devices:") -- list all devices on bus for dind,device in