#!/bin/sh set -e mkdir system && cd system if type dmidecode 2>/dev/null; then dmidecode > dmidecode fi if type lspci 2>/dev/null; then lspci > lspci lspci -n > lspci-n fi uname -smr > uname-smr uname -n > hostname ifconfig -a > ifconfig-a