mirror of
https://github.com/smittix/intercept.git
synced 2026-07-17 05:48:11 -07:00
Add pauses after each installation step for readability
Each package install now pauses for 1 second after completion so the user can see what happened before it scrolls away. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,13 @@
|
|||||||
# Don't exit on errors - we handle them explicitly
|
# Don't exit on errors - we handle them explicitly
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
# Pause briefly after each action so output is readable
|
||||||
|
PAUSE_TIME=1
|
||||||
|
|
||||||
|
pause() {
|
||||||
|
sleep $PAUSE_TIME
|
||||||
|
}
|
||||||
|
|
||||||
# Colors for output
|
# Colors for output
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
@@ -383,6 +390,7 @@ install_debian_tools() {
|
|||||||
else
|
else
|
||||||
echo -e "${YELLOW} Warning: rtl-sdr installation failed${NC}"
|
echo -e "${YELLOW} Warning: rtl-sdr installation failed${NC}"
|
||||||
fi
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# Install multimon-ng
|
# Install multimon-ng
|
||||||
echo " Installing multimon-ng..."
|
echo " Installing multimon-ng..."
|
||||||
@@ -391,6 +399,7 @@ install_debian_tools() {
|
|||||||
else
|
else
|
||||||
echo -e "${YELLOW} Warning: multimon-ng installation failed${NC}"
|
echo -e "${YELLOW} Warning: multimon-ng installation failed${NC}"
|
||||||
fi
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# rtl-433 (package name varies by distribution)
|
# rtl-433 (package name varies by distribution)
|
||||||
echo " Installing rtl-433..."
|
echo " Installing rtl-433..."
|
||||||
@@ -402,6 +411,7 @@ install_debian_tools() {
|
|||||||
echo -e "${YELLOW} Note: rtl-433 not in repositories${NC}"
|
echo -e "${YELLOW} Note: rtl-433 not in repositories${NC}"
|
||||||
echo " Install manually from: https://github.com/merbanan/rtl_433"
|
echo " Install manually from: https://github.com/merbanan/rtl_433"
|
||||||
fi
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# dump1090 (package varies by distribution)
|
# dump1090 (package varies by distribution)
|
||||||
echo " Installing dump1090..."
|
echo " Installing dump1090..."
|
||||||
@@ -418,6 +428,7 @@ install_debian_tools() {
|
|||||||
echo -e "${YELLOW} dump1090 not in repositories, building from source...${NC}"
|
echo -e "${YELLOW} dump1090 not in repositories, building from source...${NC}"
|
||||||
install_dump1090_from_source
|
install_dump1090_from_source
|
||||||
fi
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# Audio tools
|
# Audio tools
|
||||||
echo ""
|
echo ""
|
||||||
@@ -428,21 +439,33 @@ install_debian_tools() {
|
|||||||
else
|
else
|
||||||
echo -e "${YELLOW} Warning: ffmpeg installation failed${NC}"
|
echo -e "${YELLOW} Warning: ffmpeg installation failed${NC}"
|
||||||
fi
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# WiFi tools
|
# WiFi tools
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${BLUE}Installing WiFi tools...${NC}"
|
echo -e "${BLUE}Installing WiFi tools...${NC}"
|
||||||
echo " Installing aircrack-ng..."
|
echo " Installing aircrack-ng..."
|
||||||
$SUDO apt-get install -y aircrack-ng || echo -e "${YELLOW} Warning: aircrack-ng installation failed${NC}"
|
if $SUDO apt-get install -y aircrack-ng; then
|
||||||
|
echo -e "${GREEN} aircrack-ng installed${NC}"
|
||||||
|
else
|
||||||
|
echo -e "${YELLOW} Warning: aircrack-ng installation failed${NC}"
|
||||||
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
# Bluetooth tools
|
# Bluetooth tools
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${BLUE}Installing Bluetooth tools...${NC}"
|
echo -e "${BLUE}Installing Bluetooth tools...${NC}"
|
||||||
echo " Installing bluez..."
|
echo " Installing bluez..."
|
||||||
$SUDO apt-get install -y bluez bluetooth || echo -e "${YELLOW} Warning: bluez installation failed${NC}"
|
if $SUDO apt-get install -y bluez bluetooth; then
|
||||||
|
echo -e "${GREEN} bluez installed${NC}"
|
||||||
|
else
|
||||||
|
echo -e "${YELLOW} Warning: bluez installation failed${NC}"
|
||||||
|
fi
|
||||||
|
pause
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${GREEN}Tool installation complete!${NC}"
|
echo -e "${GREEN}Tool installation complete!${NC}"
|
||||||
|
pause
|
||||||
|
|
||||||
# Setup udev rules
|
# Setup udev rules
|
||||||
setup_udev_rules
|
setup_udev_rules
|
||||||
|
|||||||
Reference in New Issue
Block a user