Using ipkg with Synology DSM 4

ipkg is available with version 4 of Synology DSM, it’s just in a different place. To use it, log in as root and edit /root/.profile. Add the following line at the end of the file:
You don’t need to export the path as that’s done earlier in the script.