https://wp.jochen.hayek.name/blog-en/2014/11/07/os-updates-upgrades-can-always-be-a-pita-modified-my-profile-again-to-cope-with-synologys-latest-dsm-changes/
OS updates / upgrades can always be a PITA – modified my .profile again to cope with Synology's latest DSM changes