summarylogtreecommitdiffstats
path: root/omnibook-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'omnibook-git.install')
-rw-r--r--omnibook-git.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/omnibook-git.install b/omnibook-git.install
new file mode 100644
index 00000000000..d4589e62772
--- /dev/null
+++ b/omnibook-git.install
@@ -0,0 +1,19 @@
+post_install()
+{
+ depmod -ae -v $(uname -r) > /dev/null 2>&1
+ modprobe omnibook &>/dev/null
+}
+
+post_upgrade()
+{
+ depmod -ae -v $(uname -r) > /dev/null 2>&1
+ rmmod omnibook &>/dev/null
+ modprobe omnibook &>/dev/null
+}
+
+post_remove()
+{
+ rmmod omnibook &>/dev/null
+ depmod -ae -v $(uname -r) > /dev/null 2>&1
+}
+