diff options
author | wangjiezhe | 2015-12-21 17:01:27 +0800 |
---|---|---|
committer | wangjiezhe | 2015-12-21 17:01:27 +0800 |
commit | ca220c4ac349c1abbae71e5dd01f1a3757b7876c (patch) | |
tree | a0799117fc6171003a1a0e9567632fb10e189e10 /r8168.install | |
download | aur-ca220c4ac349c1abbae71e5dd01f1a3757b7876c.tar.gz |
Initial import
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..169189977f62 --- /dev/null +++ b/r8168.install @@ -0,0 +1,17 @@ +rebuild_module_dependencies() { + EXTRAMODULES='extramodules-4.3-pf' + 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 +} |