summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/nvidia.install
blob: b59d0b2fbc1ff56f30da89d1be3ec7bbf85e52ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    KERNEL_VERSION='2.6.39-LinHES'
    depmod $KERNEL_VERSION
    echo 'In order to use nvidia module, reboot the system.'
}

post_upgrade() {
    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.39-LinHES'
    depmod $KERNEL_VERSION
}