diff options
Diffstat (limited to 't200ta-wifi.install')
-rw-r--r-- | t200ta-wifi.install | 29 |
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 +} |