#!/bin/bash
# AQ

DN=$1
mkdir -p "$DN/resources/dmi"
echo terminal12 | sudo -S dmidecode > "$DN/resources/dmi/fullinfo"
echo terminal12 | sudo -S dmidecode -t 2 > "$DN/resources/dmi/motherboard"
echo terminal12 | sudo -S dmidecode -t 4 > "$DN/resources/dmi/cpu"
echo terminal12 | sudo -S dmidecode -t 17 > "$DN/resources/dmi/mem"
/sbin/lspci | grep VGA > "$DN/resources/dmi/video"
