search for: path_product

Displaying 1 result from an estimated 1 matches for "path_product".

2010 Aug 28
0
LUA script to emulate PXE boot on USB
...ation, filenames must have no space, and / must be replaced with _ -- (shell equivalent : touch `dmidecocde -s system-serial | tr -d " " | tr / _` ) -- path = "syslinux.cfg" path_uuid = path .. "/uuid" path_serial = path .. "/serial-number" path_product = path .. "/product-name" path_manufacturer = path .. "/manufacturer" -- Verify if file exist function exists(n) local f=io.open(n) if f then io.close(f) end return f end -- Suppress spaces (bug : lua does not support spaces in filenames) -- Replace / (direc...