summarylogtreecommitdiffstats
path: root/t200ta-wifi.install
diff options
context:
space:
mode:
authorDX372017-01-25 22:27:25 +0700
committerDX372017-01-25 22:27:25 +0700
commit0b4a32c7290aa9263d4336d780e24732d579dc53 (patch)
tree7942c864c94259398de539884e82bea75e8b305a /t200ta-wifi.install
downloadaur-0b4a32c7290aa9263d4336d780e24732d579dc53.tar.gz
Initial commit
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 000000000000..a11953a065c4
--- /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
+}