repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
virtualbox-modules-noqueue-patch
/
virtualbox-modules-noqueue-patch.install
blob
e8b06263c718c50caadfc8087a40c53caa8523cc
1
post_install() {
2
echo ">>> Updating module dependencies..."
3
/sbin/depmod -a
4
echo ">>> Reloading virtualbox modules..."
5
local modules=()
6
for module in vbox{netflt,netadp,drv}; do
7
if grep -q "^$module" /proc/modules; then
8
modprobe -r "$module"
9
modules+=("$module")
10
fi
11
done
12
for module in "${modules[@]}"; do
13
modprobe "$module"
14
done
15
}
16
17
post_upgrade() {
18
post_install
19
}