#!/bin/sh
#!/bin/sh
echo "I: running $0"

#Install Kernel headers
if [ -f "/usr/bin/x86_64" ] ; then 
    apt install linux-headers-amd64 -y
else
    apt install linux-headers-686-pae:i386 -y
fi
#Install General dkms support
apt install -y dkms

#Install Broadcom sta Dkms Driver
apt install -y broadcom-sta-dkms

#Note for potential NvidiaDriver packages
#nvidia-driver
#module-assistant
#build-essential

#Cleanup unnecessary build tools after install
apt purge -y linux-headers* linux-kbuild* linux-compiler-gcc-10-x86