]> ## SCSI Enclosure Monitor for UNRAID ###2025.11.29 - fix: segmentation fault in sg_ses (thanks Wu23333) ###2025.11.12 - new: sesmon service was updated to latest release version (v0.1.1) - fix: use --no-time with sg_ses (some devices do not support timestamps) ###2025.11.09 - release note: welcome to the first version of the package. - release note: please report any problems in the support topic. &pkgURL;/sesmon-0.1.1-x86_64-1.txz 146632fb75ab2de85bb7e592cd80a896 &pkgURL;/sg3_utils-1.48-x86_64-2.txz ca0129520c39b9e18e8c05e32a1220ed &gitURL;/archive/&plgNAME;.txz &plgMD5; echo "" killall sesmon >/dev/null 2>&1 if [ -x /etc/rc.d/rc.sesmon ]; then if ! /etc/rc.d/rc.sesmon stop >/dev/null 2>&1; then echo "WARNING:" echo "WARNING: The installation script was not able to stop the service." echo "WARNING: IN CASE OF PROBLEMS, please REBOOT YOUR SYSTEM to complete any upgrades." echo "WARNING:" fi fi if [ -x /usr/local/emhttp/plugins/dwsesmon/scripts/write_config ]; then /usr/local/emhttp/plugins/dwsesmon/scripts/write_config fi if [ -x /etc/rc.d/rc.sesmon ]; then source "/boot/config/plugins/dwsesmon/dwsesmon.cfg" if [ "$SERVICE" == "enable" ]; then echo "Starting service..." /etc/rc.d/rc.sesmon start 2>&1 | logger -t "rc.sesmon" if [ "${PIPESTATUS[0]}" -eq 0 ]; then echo "Service has been started successfully." else echo "WARNING: Service failed to start, check your configuration and the SYSLOG." fi fi fi echo "" echo "-------------------------------------------------------------" echo " SCSI Enclosure Monitor for UNRAID has been installed." echo " Version: &version; / Plugin Maintainer: &author;" echo "-------------------------------------------------------------" echo "" echo "" killall sesmon >/dev/null 2>&1 if [ -x /etc/rc.d/rc.sesmon ]; then if ! /etc/rc.d/rc.sesmon stop >/dev/null 2>&1; then echo "WARNING:" echo "WARNING: The uninstallation script was not able to stop the service." echo "WARNING: IN CASE OF PROBLEMS, please REBOOT YOUR SYSTEM to remove any remaining packages." echo "WARNING:" fi fi rm -f &plgPATH;/sg3*.txz removepkg &plgPATH;/*.txz rm -f &plgPATH;/*.txz rm -rf &emhttp; rm -rf /etc/sesmon rm -rf /var/lib/sesmon echo "" echo "-----------------------------------------------------------" echo " SCSI Enclosure Monitor for UNRAID has been removed." echo " Version: &version; / Plugin Maintainer: &author;" echo "-----------------------------------------------------------" echo ""