diff options
Diffstat (limited to 'abs/core/nvidia/nvidia.install')
-rw-r--r-- | abs/core/nvidia/nvidia.install | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install index f7ecde6..b59d0b2 100644 --- a/abs/core/nvidia/nvidia.install +++ b/abs/core/nvidia/nvidia.install @@ -1,14 +1,16 @@ post_install() { - KERNEL_VERSION='2.6.37-LinHES' - depmod $KERNEL_VERSION + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION + echo 'In order to use nvidia module, reboot the system.' } post_upgrade() { - post_install - rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.' + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION + rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.' } post_remove() { - KERNEL_VERSION='2.6.37-LinHES' - depmod $KERNEL_VERSION + KERNEL_VERSION='2.6.39-LinHES' + depmod $KERNEL_VERSION } |