#!/bin/bash DRV_NAME=8812au DRV_VERSION=4.2.2 dkms add -m ${DRV_NAME} -v ${DRV_VERSION} dkms build -m ${DRV_NAME} -v ${DRV_VERSION} dkms install -m ${DRV_NAME} -v ${DRV_VERSION} RESULT=$? echo "Finished running dkms install steps." exit $RESULT