summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-96xx/nvidia.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nvidia-96xx/nvidia.install')
-rw-r--r--abs/core/nvidia-96xx/nvidia.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/nvidia-96xx/nvidia.install b/abs/core/nvidia-96xx/nvidia.install
new file mode 100644
index 0000000..ab86ea2
--- /dev/null
+++ b/abs/core/nvidia-96xx/nvidia.install
@@ -0,0 +1,14 @@
+post_install() {
+ KERNEL_VERSION='2.6.28-LinHES'
+ depmod $KERNEL_VERSION
+}
+
+post_upgrade() {
+ post_install
+ rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
+}
+
+post_remove() {
+ KERNEL_VERSION='2.6.28-LinHES'
+ depmod $KERNEL_VERSION
+}