mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
22 lines
401 B
Text
22 lines
401 B
Text
# Copied/modified from frandom.install
|
|
|
|
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
|
|
post_install () {
|
|
echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot."
|
|
echo ">> This module needs to be recompiled for every kernel version upgrade."
|
|
depmod -a
|
|
}
|
|
|
|
pre_remove () {
|
|
rmmod vhba 2> /dev/null
|
|
}
|
|
|
|
post_remove () {
|
|
depmod -a
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|