We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c357833 commit 1307f6eCopy full SHA for 1307f6e
1 file changed
scripts/ClamAV.sh
@@ -21,12 +21,15 @@ uninstall_clamav() {
21
sudo apt remove -y clamav clamav-daemon
22
sudo apt autoremove -y
23
echo "ClamAV has been uninstalled successfully."
24
+ echo "Use clamscan to scan the server."
25
+ sleep 5
26
}
-
27
+clear
28
echo "Choose an option:"
29
echo "1 - Install ClamAV"
30
echo "2 - Uninstall ClamAV"
-read -p "Enter your choice (1 or 2): " choice
31
+echo "0 - Back to Main Menu"
32
+read -p "Enter your choice: " choice
33
34
case $choice in
35
1)
@@ -35,6 +38,10 @@ case $choice in
38
2)
36
39
uninstall_clamav
37
40
;;
41
+ 0)
42
+ echo "Exiting..."
43
+ exit 0
44
+ ;;
45
*)
46
echo "Invalid choice. Please run the script again and choose 1 or 2."
47
0 commit comments