summarylogtreecommitdiffstats
path: root/t200ta-wifi.install
blob: a11953a065c48ab7241e1e529581dfd27c3fafce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}