blob: 7c86d1009310404720cb298f2d5a6984a081227a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
_depmod() {
EXTRAMODULES=extramodules-4.9-lts
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
post_install() {
cat << EOF
==> Virtualbox kernel modules will be loaded at boot time by systemd-modules-load.
==> In order to use them right now, you may want to load them manually.
==> Read modules-load.d man page to disable module boot loading.'
EOF
_depmod
}
post_upgrade() {
_depmod
}
post_remove() {
_depmod
}
# vim:set ts=2 sw=2 et:
|