summaryrefslogtreecommitdiffstats
path: root/abs/core/ipw3945-ucode/ipw3945-ucode.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ipw3945-ucode/ipw3945-ucode.install')
-rw-r--r--abs/core/ipw3945-ucode/ipw3945-ucode.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/ipw3945-ucode/ipw3945-ucode.install b/abs/core/ipw3945-ucode/ipw3945-ucode.install
new file mode 100644
index 0000000..9296f8c
--- /dev/null
+++ b/abs/core/ipw3945-ucode/ipw3945-ucode.install
@@ -0,0 +1,18 @@
+# arg 1: the new package version
+post_install() {
+cat << EOF
+IMPORTANT
+==> In order to use this firmware you have to agree to Intel's license located in
+==> /lib/firmware/LICENSE.ipw3945-ucode else please remove this package.
+EOF
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*