summaryrefslogtreecommitdiff
path: root/community/rt3562sta/rt3562sta.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-18 23:15:18 +0000
committerroot <root@rshg054.dnsready.net>2011-11-18 23:15:18 +0000
commit126af148530f656a2ed192a852477b2ee97d5397 (patch)
tree8ffc6ca622df6bd9d9a17cbacfd394bba287d84b /community/rt3562sta/rt3562sta.install
parent029ccb02a25d48cdc39a7e749c17fa8bc9fb84e3 (diff)
Fri Nov 18 23:15:18 UTC 2011
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
+}