summarylogtreecommitdiffstats
path: root/nvidia.install
diff options
context:
space:
mode:
Diffstat (limited to 'nvidia.install')
-rw-r--r--nvidia.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/nvidia.install b/nvidia.install
new file mode 100644
index 000000000000..bdd6be04d3ee
--- /dev/null
+++ b/nvidia.install
@@ -0,0 +1,13 @@
+post_install() {
+ EXTRAMODULES='extramodules-4.1-tomoyo'
+ depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
+ echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}