summarylogtreecommitdiffstats
path: root/dattobd.install
diff options
context:
space:
mode:
Diffstat (limited to 'dattobd.install')
-rw-r--r--dattobd.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/dattobd.install b/dattobd.install
new file mode 100644
index 000000000000..95d30504d88b
--- /dev/null
+++ b/dattobd.install
@@ -0,0 +1,22 @@
+## arg 1: the new package version
+post_install() {
+ ldconfig
+ cat <<EOT
+You may load the dattobd kernel driver using the following commands:
+
+ depmod -a
+ modprobe dattobd
+
+If you wish for this driver to be loaded automatically when you reboot, you may
+do so using the following command:
+
+ echo dattobd > /etc/modules-load.d/dattobd.conf
+
+EOT
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_install
+} \ No newline at end of file