mirror of
https://github.com/smittix/intercept.git
synced 2026-06-02 19:23:36 -07:00
fix: Prompt for RTL-SDR Blog V4 drivers instead of silently skipping
The previous logic installed rtl-sdr via apt first, then gated the Blog driver install on cmd_exists rtl_test — which was always true, so V4 drivers were never installed. Replace with a yes/no prompt (default y, backward-compatible) guarded by IS_DRAGONOS for pre-configured distros. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1428,12 +1428,18 @@ install_debian_packages() {
|
|||||||
|
|
||||||
apt_install_if_missing rtl-sdr
|
apt_install_if_missing rtl-sdr
|
||||||
|
|
||||||
progress "RTL-SDR Blog drivers"
|
progress "RTL-SDR Blog drivers (V4 support)"
|
||||||
if cmd_exists rtl_test; then
|
if $IS_DRAGONOS; then
|
||||||
ok "RTL-SDR drivers already installed"
|
info "DragonOS: skipping RTL-SDR Blog driver install (pre-configured)."
|
||||||
else
|
else
|
||||||
info "RTL-SDR drivers not found, installing RTL-SDR Blog drivers..."
|
echo
|
||||||
install_rtlsdr_blog_drivers_debian
|
info "RTL-SDR Blog drivers add V4 (R828D tuner) support and bias-tee improvements."
|
||||||
|
info "They are backward-compatible with all RTL-SDR devices."
|
||||||
|
if ask_yes_no "Install RTL-SDR Blog drivers? (recommended for V4 users, safe for all)" "y"; then
|
||||||
|
install_rtlsdr_blog_drivers_debian
|
||||||
|
else
|
||||||
|
warn "Skipping RTL-SDR Blog drivers. V4 devices may not work correctly."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
progress "Installing multimon-ng"
|
progress "Installing multimon-ng"
|
||||||
|
|||||||
Reference in New Issue
Block a user