diff --git a/README.md b/README.md index ce3ada4..cde191a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ This guide provides detailed instructions on how to set up the Link Layer Discov ![screenshot](img1.png) +image + + ## Prerequisites Before starting, ensure that you have administrative access to your Proxmox server and are familiar with basic Linux command line operations. diff --git a/install.sh b/install.sh index be3380c..05f555d 100644 --- a/install.sh +++ b/install.sh @@ -40,7 +40,7 @@ echo "Restarting lldpd service..." sudo systemctl restart lldpd echo "Configuring lldpd to monitor all interfaces matching '*' pattern..." -sudo lldpcli configure system interface pattern * +sudo lldpcli configure system interface pattern en* # Assuming the update_interface_desc.sh is in the same directory as install.sh # Copy the update_interface_desc.sh script to /usr/local/bin diff --git a/update_interface_desc.sh b/update_interface_desc.sh index 7d76582..d674acb 100644 --- a/update_interface_desc.sh +++ b/update_interface_desc.sh @@ -36,7 +36,7 @@ cp $INTERFACES_FILE $TEMP_FILE log "Backed up current interfaces file." # Configure lldpcli to only monitor en* interfaces -lldpcli configure system interface pattern en* +/usr/sbin/lldpcli configure system interface pattern en* log "Configured lldpcli to monitor interfaces matching 'en*' pattern." # Function to update interface description