summaryrefslogtreecommitdiff
path: root/community/rt3562sta/rt3562sta.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/rt3562sta/rt3562sta.install')
-rw-r--r--community/rt3562sta/rt3562sta.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/rt3562sta/rt3562sta.install b/community/rt3562sta/rt3562sta.install
new file mode 100644
index 000000000..82ec4d462
--- /dev/null
+++ b/community/rt3562sta/rt3562sta.install
@@ -0,0 +1,16 @@
+rebuild_module_dependencies() {
+ EXTRAMODULES='extramodules-3.1-ARCH'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+ rebuild_module_dependencies
+}
+
+post_upgrade() {
+ rebuild_module_dependencies
+}
+
+post_remove() {
+ rebuild_module_dependencies
+}