3 DKMS=`which dkms 2>/dev/null`
5 echo ">>> DKMS: Module add, build, and install "
7 $DKMS add -m vboxhost -v 4.1.8
8 $DKMS build -m vboxhost -v 4.1.8
9 $DKMS install -m vboxhost -v 4.1.8
26 DKMS=`which dkms 2>/dev/null`
27 echo ">>> DKMS: Module uninstall "
29 line=`$DKMS status -m vboxhost`
30 if echo "$line" | grep -E 'added|built|installed'; then
31 version=`echo "$line" | sed "s/vboxhost,\([^,]*\)[,:].*/\1/;t;d"`
32 $DKMS remove -m vboxhost -v $version --all