Skip to content

Commit 63ebaf3

Browse files
committed
Add warning about unit 3 script duration
1 parent 5f572fe commit 63ebaf3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Scripts/unit3_lab.sh

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ if command -v /usr/local/bin/snort >/dev/null 2>&1 ; then
1010
echo -e "${green}[UNIT 3 LAB]${none} Snort is already installed."
1111
exit 0
1212
fi
13+
14+
echo -e "${yellow}WARNING: Installing Snort takes 30-60 minutes.${none}"
15+
echo -e "${yellow}During that time, you will need to leave your machine on and connected to the internet.${none}"
16+
read -p "Do you want to continue with the installation? (y/n) " -n 1 -r
17+
echo
18+
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
19+
echo "Exiting the program. Goodbye!"
20+
exit 1
21+
fi
22+
1323
echo "[UNIT 3 LAB] Installing Snort..."
1424

1525
# Set timezone to Eastern Time

0 commit comments

Comments
 (0)