We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f572fe commit 63ebaf3Copy full SHA for 63ebaf3
Scripts/unit3_lab.sh
@@ -10,6 +10,16 @@ if command -v /usr/local/bin/snort >/dev/null 2>&1 ; then
10
echo -e "${green}[UNIT 3 LAB]${none} Snort is already installed."
11
exit 0
12
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
23
echo "[UNIT 3 LAB] Installing Snort..."
24
25
# Set timezone to Eastern Time
0 commit comments