diff options
author | root <root@rshg054.dnsready.net> | 2011-12-10 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-10 23:14:51 +0000 |
commit | e37e888e9ecdc23a004eb19d72c64c02c5af3249 (patch) | |
tree | 19ab9633db499218c0eaf69356525133fd2c4e7f /community/r8168-lts/r8168-lts.install | |
parent | d22b68a6758c4f29a8e50a7be467374a53c68415 (diff) |
Sat Dec 10 23:14:51 UTC 2011
Diffstat (limited to 'community/r8168-lts/r8168-lts.install')
-rw-r--r-- | community/r8168-lts/r8168-lts.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/r8168-lts/r8168-lts.install b/community/r8168-lts/r8168-lts.install new file mode 100644 index 000000000..fd4f92f63 --- /dev/null +++ b/community/r8168-lts/r8168-lts.install @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-2.6.32-lts' + depmod $(cat /lib/modules/$EXTRAMODULES/version) +} + +post_install() { + rebuild_module_dependencies + echo '>>> The module r8168 conflicts with r8169. You can blacklist it with:' + echo '>>> `echo "blacklist r8169" > /etc/modprobe.d/r8169_blacklist.conf`' +} +post_upgrade() { + rebuild_module_dependencies +} + +post_remove() { + rebuild_module_dependencies +} |