diff options
Diffstat (limited to 'abs/extra/twinhan-remote/twinhan-remote.install')
-rw-r--r-- | abs/extra/twinhan-remote/twinhan-remote.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/extra/twinhan-remote/twinhan-remote.install b/abs/extra/twinhan-remote/twinhan-remote.install new file mode 100644 index 0000000..4fa78ad --- /dev/null +++ b/abs/extra/twinhan-remote/twinhan-remote.install @@ -0,0 +1,19 @@ +KERNEL_NAME= +KERNEL_VERSION=`/bin/uname -r` + +post_install () { + # updating module dependencies + echo ">>> Updating module dependencies. Please wait ..." + /sbin/depmod $KERNEL_VERSION + # generate init ramdisks + echo ">>> Generating ramdisk, using mkinitcpio. Please wait..." + /sbin/mkinitcpio -p kernel26${KERNEL_NAME} +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |