summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-304xx/nvidia-304xx.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nvidia-304xx/nvidia-304xx.install')
-rw-r--r--abs/core/nvidia-304xx/nvidia-304xx.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core/nvidia-304xx/nvidia-304xx.install b/abs/core/nvidia-304xx/nvidia-304xx.install
new file mode 100644
index 0000000..9858d46
--- /dev/null
+++ b/abs/core/nvidia-304xx/nvidia-304xx.install
@@ -0,0 +1,13 @@
+post_install() {
+ EXTRAMODULES='extramodules-4.9-ARCH'
+ 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
+}