summarylogtreecommitdiffstats
path: root/t200ta-wifi.install
diff options
context:
space:
mode:
Diffstat (limited to 't200ta-wifi.install')
-rw-r--r--t200ta-wifi.install29
1 files changed, 29 insertions, 0 deletions
diff --git a/t200ta-wifi.install b/t200ta-wifi.install
new file mode 100644
index 00000000000..a11953a065c
--- /dev/null
+++ b/t200ta-wifi.install
@@ -0,0 +1,29 @@
+pre_install() {
+ # preparing module
+ rmmod brcmfmac
+}
+
+post_install() {
+ # restarting module after needed file installing
+ modprobe brcmfmac
+}
+
+pre_upgrade() {
+ # preparing module
+ rmmod brcmfmac
+}
+
+post_upgrade() {
+ # restarting module after needed file updating
+ modprobe brcmfmac
+}
+
+pre_remove() {
+ # since you don't need wi-fi, I guess I can remove module?
+ rmmod brcmfmac
+}
+
+post_remove() {
+ # enjoy your wi-fi-less device :D
+ modprobe brcmfmac
+}