diff options
author | Torsten Wörtwein | 2015-06-13 21:03:55 +0200 |
---|---|---|
committer | Torsten Wörtwein | 2015-06-13 21:03:55 +0200 |
commit | d3489243d428633597fc6c3b4f49e01a1f295dd3 (patch) | |
tree | 3ea224870cd6d2d0d89c63125df067b3faa01e83 /caitsith-lkm.install | |
download | aur-d3489243d428633597fc6c3b4f49e01a1f295dd3.tar.gz |
Initial import
Diffstat (limited to 'caitsith-lkm.install')
-rw-r--r-- | caitsith-lkm.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/caitsith-lkm.install b/caitsith-lkm.install new file mode 100644 index 000000000000..5084e483b6bb --- /dev/null +++ b/caitsith-lkm.install @@ -0,0 +1,20 @@ +#! /bin/bash + +post_install() { + KERNEL_VERSION=$(uname -r) + depmod $KERNEL_VERSION + echo + echo " * Append \"init=/sbin/caitsith-init\" to the kernel boot options" + echo " and reboot in order to activate CaitSith." + echo +} + +post_upgrade() { + KERNEL_VERSION=$(uname -r) + depmod $KERNEL_VERSION +} + +post_remove() { + KERNEL_VERSION=$(uname -r) + depmod $KERNEL_VERSION +} |