summaryrefslogtreecommitdiff
path: root/libre/vhba-module/kmod.install
blob: 2c765258091b78c4abea1b70ab3efb52cfd1b555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
	post_upgrade $1 0
	getent group cdemu &>/dev/null || groupadd -r cdemu
}

post_upgrade() {
	_EXTRAMODULES=extramodules-4.11
	depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1
}

post_remove() {
	post_upgrade $1 0
	groupdel cdemu
}