summaryrefslogtreecommitdiff
path: root/community-testing/r8168-lts/r8168-lts.install
blob: 2aab9e1e31cd9d412ba7a66dfc79f8a9b3e6f474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
rebuild_module_dependencies() {
	EXTRAMODULES='extramodules-3.0-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
}