From 488d3624be68a1655fc8b40241f514e52855d18b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 18 Jun 2009 19:18:48 +0200 Subject: update --- vhba-module/vhba-module.install | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vhba-module/vhba-module.install (limited to 'vhba-module/vhba-module.install') diff --git a/vhba-module/vhba-module.install b/vhba-module/vhba-module.install new file mode 100644 index 0000000..eddff76 --- /dev/null +++ b/vhba-module/vhba-module.install @@ -0,0 +1,22 @@ +# 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 $* -- cgit v1.2.3-24-g4f1b