summaryrefslogtreecommitdiffstats
path: root/abs/extra/twinhan-remote/twinhan-remote.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-05-16 17:37:28 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-05-16 17:37:28 (GMT)
commit96e53f48cac3e176182b224a7f9d1897f420649f (patch)
tree7fae150a130b3e9555b986f9ba6fea8b6763cbb1 /abs/extra/twinhan-remote/twinhan-remote.install
parent71cfd1ae3aeeb1989869a0d8e948340602ef1c8e (diff)
downloadlinhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.zip
linhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.tar.gz
linhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.tar.bz2
twinhan-remote: initial inclusion. refs #820
Diffstat (limited to 'abs/extra/twinhan-remote/twinhan-remote.install')
-rw-r--r--abs/extra/twinhan-remote/twinhan-remote.install19
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
+}