Here's the script in the video
rebuild-dkms
#!/bin/bash
#script to rebuild dkms modules installed from deb packages
#dolphin oracle, March 2017
for i in $(dpkg-query -l |grep "\-dkms" |awk '{print $2'}); do
dpkg-reconfigure $i |tee -a /var/log/rebuild-dkms.log
done
Thanks for watching