]> ## netatalk - AFP for UNRAID ###2024.03.09 - fix: important backend preparations for future UNRAID versions 6.13+ - fix: important dependencies preparations for future UNRAID versions 6.13+ ###2023.11.01 - new: updated AFP backends to netatalk 3.1.18 (upstream security fixes) ###2023.10.02 - new: reworked shell scripts to better (security) standards - new: added AFP backends for future UNRAID versions 6.13+ ###2023.10.01 - new: updated AFP backend to netatalk 3.1.17 (upstream bugfixes) ###2023.09.02 - fix: cleaning of old files from USB drive - new: reduce wait times for stuck AFP processes ###2023.09.01 - release note: welcome to the first version of the AFP package. - release note: please report any problems in the support topic. echo "Making sure all existing AFP services are stopped (before install/upgrade)..." if [ -x /etc/rc.d/rc.nafp ]; then if ! /etc/rc.d/rc.nafp stop >/dev/null 2>&1; then echo "WARNING:" echo "WARNING: The AFP installation script was not able to stop the services gracefully." echo "WARNING: IN CASE OF PROBLEMS, please REBOOT YOUR SYSTEM to complete any upgrades." echo "WARNING:" fi fi exit 0 &pkgURL;/netatalk-3.1.18-x86_64-2_slack15.1.txz 0f4f8855029631e1e942c9779c08a782 &pkgURL;/openldap-2.4.59-x86_64-1_slack15.0.txz b3b4e18f947abf013c1dfbfa136803cd &pkgURL;/netatalk-3.1.18-x86_64-1_slack15.0.txz 3067ed6151e520d10283a1e57f0f26a8 &gitURL;/archive/&plgNAME;.txz &plgMD5; echo "" echo "-------------------------------------------------------------" echo " netatalk - AFP for UNRAID (&version;) has been installed." echo " Copyright 2023 - &author;" echo "-------------------------------------------------------------" echo "!! Please RESTART YOUR ARRAY after UPDATING the AFP plugin !!" echo "!! If you did not update, thanks for installing and ENJOY. !!" echo "-------------------------------------------------------------" echo "" echo "Making sure all existing AFP services are stopped (before uninstall)..." if [ -x /etc/rc.d/rc.nafp ]; then if ! /etc/rc.d/rc.nafp stop >/dev/null 2>&1; then echo "WARNING:" echo "WARNING: The AFP uninstallation script was not able to stop the services gracefully." echo "WARNING: IN CASE OF PROBLEMS, please REBOOT YOUR SYSTEM to remove any remaining packages." echo "WARNING:" fi fi # check if OpenLDAP is used by another plugin if [ "$(find /boot/config/plugins/*.plg -type f ! -iname "*&name;.plg*" | xargs grep "openldap" -sl)" ]; then echo "OpenLDAP in use by another plugin, will not be removed together with AFP." rm -f &plgPATH;/openldap*.txz fi removepkg &plgPATH;/*.txz # clean up folders after the removed installation # in case of re-installation of package on live system rm -rf &plgPATH; rm -rf &emhttp; rm -rf /etc/netatalk rm -f /etc/avahi/services/netatalk.service if [ -d /mnt/user ]; then if [ -d /mnt/user/system/nafp ]; then rm -rf /mnt/user/system/nafp fi else echo "" echo "WARNING: UNABLE TO REMOVE AFP DATABASE - IS THE ARRAY NOT STARTED?" echo "WARNING: RUN 'WIPE DB' (FROM AFP GUI) IF RE-INSTALLING THE PLUGIN." echo "WARNING:" echo "WARNING: This is not a problem except for taking up disk space." echo "WARNING: AFP database remains located at: /mnt/user/system/nafp" echo "" fi echo "" echo "-----------------------------------------------------------" echo " netatalk - AFP for UNRAID (&version;) has been removed." echo " Copyright 2023 - &author;" echo "-----------------------------------------------------------" echo ""