Skip to content

Commit

Permalink
Update blacklist-kernel-modules.md
Browse files Browse the repository at this point in the history
Reverted earlier change that prevented `sudo tee` command from finishing writing the list of excluded modules to file
  • Loading branch information
kx1t authored May 7, 2024
1 parent 1d5f7c1 commit beac0bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setting-up-rtl-sdrs/blacklist-kernel-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Before we can plug in our RTL-SDR dongle, we need to blacklist the kernel module
To do this, we will create a blacklist file at `/etc/modprobe.d/blacklist-rtlsdr.conf` with the following command. While logged in as root, please copy and paste all lines at once, and press enter after to ensure the final line is given allowing it to run.

```bash
sudo tee /etc/modprobe.d/blacklist-rtlsdr.conf <<TEXT1
sudo tee /etc/modprobe.d/blacklist-rtlsdr.conf <<EOF
# Blacklist host from loading modules for RTL-SDRs to ensure they
# are left available for the Docker guest.
Expand All @@ -36,6 +36,7 @@ blacklist rtl2830
blacklist rtl2832
blacklist rtl2832_sdr
blacklist rtl2838
EOF

# This alone will not prevent a module being loaded if it is a
# required or an optional dependency of another module. Some kernel
Expand Down

0 comments on commit beac0bb

Please sign in to comment.