Nvidia Drivers, break after reboot

I work for a Tech company that sell linux servers with Nvidia cards attached. When we updated the os on our customer’s systems occasionally the Nvidia drivers break and need to be reinstalled. I was wondering is there anyway for me to automate this process during the reboot?

I presume you’re installing the official drivers via a *.run package - you should never do that (OK, if you’re an expert and you’re working with your own PC that’s possible and doable).

Please use your distro packages instead - they will keep on working after most updates.

If your distro doesn’t provide driver packages, use dkms to automatically recompile the driver on kernel change.