]> ## LLDP for UNRAID ###2024.09.16 - fix: reworked bash scripts to better standards with more safety for strange configurational states ###2024.09.13 - important fix: address possible flock condition causing installation script to stall (thanks AgentXXL) ###2024.09.12 - fix: made optical changes regarding wording, positioning and helptexts on the LLDP Settings page - fix: improved script security by handling of leading and trailing whitespaces in configurational values - new: use of plugin usage metric functions to aid development of new features and planning for plugin updates (toggleable) ###2024.08.07 - new: switched from legacy to more recent update checking mechanism ###2024.04.15 - fix: only propagate LLDP information on physical network interfaces (eth*) instead of all network interfaces ###2024.03.11 - fix: moved around some statements in the installation and removal processes (no changes to packages) ###2024.02.26 - release note: welcome to the first version of the LLDP package. - release note: please report any problems in the respective support topic. echo "Making sure all existing LLDP services are stopped (before install/upgrade)..." killall lldpd >/dev/null 2>&1 killall lldp-poller >/dev/null 2>&1 echo "" exit 0 &pkgURL;/lldpd-1.0.18-x86_64-1.txz 8a990c707220e8aa2970dc11f2321223 &gitURL;/archive/&plgNAME;.txz &plgMD5; CONFIG=&plgPATH;/&name;.cfg # reading our configuration echo "Reading LLDP configuration..." if [ -e "$CONFIG" ]; then source "$CONFIG" fi echo "Determining if LLDP service should be started..." if [ "$SERVICE" == "enable" ]; then echo "Starting LLDP service..." /etc/rc.d/rc.lldpd start fi /etc/cron.daily/lldp-poller conntest >/dev/null 2>&1 & echo "" echo "-------------------------------------------------------------" echo " LLDP for UNRAID has been installed." echo " Version: &version; / Plugin Maintainer: &author;" echo "-------------------------------------------------------------" echo "" echo "Making sure all existing LLDP instances are stopped (before uninstall)..." killall lldpd >/dev/null 2>&1 killall lldp-poller >/dev/null 2>&1 removepkg &plgPATH;/*.txz rm -rf &plgPATH; rm -rf &emhttp; rm -f /etc/cron.daily/lldp-poller >/dev/null 2>&1 echo "" echo "-----------------------------------------------------------" echo " LLDP for UNRAID has been removed." echo " Version: &version; / Plugin Maintainer: &author;" echo "-----------------------------------------------------------" echo ""