Make sure you have:
- installed MEGAcmd package in DSM package center.
- enabled user home service which located at User->Advanced.
- set up your MEGAcmd correctly according to MEGAcmd README.
Then:
- move
meganz-init.conf
into/etc/init/
. - make sure your
HOME
env is matched.
Reboot to check if it works. Enjoy!
No longer works in DSM7: https://gist.github.com/SanCoder-Q/f3755435e6e8bd46ba95bf0ec54ae1a4#gistcomment-3844174