#!/bin/sh

set -e

PATH=/usr/sbin:$PATH
export PATH

at_exit() {
    echo "info: test exiting"
}

trap at_exit INT TERM EXIT

echo "info: PCI devices"
lspci -nn
echo "info: USB devices"
lsusb
echo "info: Running isenkram-lookup"
isenkram-lookup 2>&1
echo "info: Running isenkram-autoinstall-firmware"
isenkram-autoinstall-firmware 2>&1
