add tcpdump script

This commit is contained in:
pi-farm
2023-11-20 23:35:07 +01:00
parent c992331a20
commit 540d7b9bf0
3 changed files with 16 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ menue()
echo "x) Stop the docker-containers"
echo "u) Update the PXE-Server"
echo ""
echo "t) Show TCPDUMP on port 67-69 of the PXE-Container"
echo ""
echo "D) DELETE the existing docker-containers and docker images completely"
echo ""
echo "EXIT Exit this script, but PXE-Server is running, if started"
@@ -78,6 +80,15 @@ menue()
;;
#############################################
t) clear
docker exec -it pxe-container bash tcpdump.sh
clear
echo "TCPDUMP stopped"
echo""
menue
;;
#############################################
D) clear
docker-compose down
docker rmi pxe-image:latest