mirror of
https://github.com/smittix/intercept.git
synced 2026-05-29 23:19:28 -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:
16
setup.sh
16
setup.sh
@@ -1428,12 +1428,18 @@ install_debian_packages() {
|
||||
|
||||
apt_install_if_missing rtl-sdr
|
||||
|
||||
progress "RTL-SDR Blog drivers"
|
||||
if cmd_exists rtl_test; then
|
||||
ok "RTL-SDR drivers already installed"
|
||||
progress "RTL-SDR Blog drivers (V4 support)"
|
||||
if $IS_DRAGONOS; then
|
||||
info "DragonOS: skipping RTL-SDR Blog driver install (pre-configured)."
|
||||
else
|
||||
info "RTL-SDR drivers not found, installing RTL-SDR Blog drivers..."
|
||||
install_rtlsdr_blog_drivers_debian
|
||||
echo
|
||||
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
|
||||
|
||||
progress "Installing multimon-ng"
|
||||
|
||||
Reference in New Issue
Block a user