core/nvidia/nvidia.install

15 lines
284 B
Plaintext
Raw Normal View History

2010-05-25 02:00:56 +08:00
post_install() {
KERNEL_VERSION='2.6.35-CHAKRA'
2010-05-25 02:00:56 +08:00
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.35-CHAKRA'
2010-05-25 02:00:56 +08:00
depmod $KERNEL_VERSION
}