mirror of
https://github.com/cilynx/rtl88x2bu
synced 2025-08-22 02:01:55 +00:00
Use tee to redirect content to root file
Previously, a plain `>` redirect was used. However, that does not work if the user cannot write to the destination. Since a redirect is a separate process, prepending `sudo` does not help neither, as it would only affect `echo`. The appropriate solution under GNU/Linux is to use `tee`. This is what is done here.
This commit is contained in:
parent
b2f6d80e93
commit
a9013104ba
@ -72,10 +72,11 @@ Check the currently loaded module using `lsmod`. If you see `rtw88_core`,
|
||||
`rtw88_usb`, or any name beginning with `rtw88_` then you are using the RTW88
|
||||
driver. If you see `88x2bu` then you are using this RTW88x2BU driver.
|
||||
|
||||
To blacklist RTW88 8822bu USB driver, run the following command:
|
||||
To blacklist RTW88 8822bu USB driver, run the following command. It will
|
||||
_replace_ the existing `*.conf` file with the `echo`ed content.
|
||||
|
||||
```
|
||||
echo "blacklist rtw88_8822bu" > /etc/modprobe.d/rtw8822bu.conf
|
||||
echo "blacklist rtw88_8822bu" | sudo tee /etc/modprobe.d/rtw8822bu.conf
|
||||
```
|
||||
|
||||
Then reboot your system.
|
||||
|
Loading…
x
Reference in New Issue
Block a user