diff options
author | GI Jack | 2015-08-31 14:46:04 -0400 |
---|---|---|
committer | GI Jack | 2015-08-31 14:46:04 -0400 |
commit | c72af439a2e7e16c4a88004b38f9edca4fffd665 (patch) | |
tree | 83f962770896abac26f2f16068ab5819a948d9d5 /r8168.install | |
download | aur-c72af439a2e7e16c4a88004b38f9edca4fffd665.tar.gz |
initial commit
Diffstat (limited to 'r8168.install')
-rw-r--r-- | r8168.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/r8168.install b/r8168.install new file mode 100644 index 000000000000..ceb766f91d63 --- /dev/null +++ b/r8168.install @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.1-aufs_friendly' + depmod $(cat /usr/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 +} |