openwrt/target/linux/x86/base-files/lib/preinit
Jo-Philipp Wich 699f7ecd15 x86: use sysfs DMI information to populate sysinfo
Use the DMI data available in sysfs to extract manufacturer and model info
and write it to /tmp/sysinfo/.

The data will be picked up by board_detect and can be used by e.g. LuCI to
display a more appropriate model description.

On an APU board the files will contain the following values:

    # cat /tmp/sysinfo/model
    PC Engines APU

    # cat /tmp/sysinfo/board_name
    pc-engines-apu

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-06 15:18:11 +02:00
..
15_essential_fs_x86 Do not overload mount-call - trying to reduce confusion 2012-12-19 16:07:46 +00:00
20_check_iso x86: add grub2 iso support 2012-10-07 23:01:52 +00:00
20_sysinfo x86: use sysfs DMI information to populate sysinfo 2016-06-06 15:18:11 +02:00
79_move_config x86: generalize partition discovery for sysupgrade 2016-05-24 13:30:58 +02:00