summarylogtreecommitdiffstats
path: root/akari.install
diff options
context:
space:
mode:
Diffstat (limited to 'akari.install')
-rw-r--r--akari.install18
1 files changed, 6 insertions, 12 deletions
diff --git a/akari.install b/akari.install
index d3c1c8df6ee0..99b3ea60bb8b 100644
--- a/akari.install
+++ b/akari.install
@@ -1,20 +1,14 @@
-#! /bin/bash
-
post_install() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
- echo
- echo " * Append \"init=/sbin/ccs-init\" to the kernel boot options"
- echo " and reboot in order to activate AKARI."
- echo
+ EXTRAMODULES='extramodules-4.9-ARCH'
+ depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
+ echo "In order to use akari module append \"init=/sbin/ccs-init\""
+ echo "to the kernel boot options and reboot the system to activate"
}
post_upgrade() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
+ post_install
}
post_remove() {
- KERNEL_VERSION=$(uname -r)
- depmod $KERNEL_VERSION
+ post_install
}