开启nas ssh并root权限登录
先看看有没有python环境
Diskstation>su
~#python
要是输出
Python 2.7.9 (default, Jun 11 2015, 05:35:22)
[GCC 4.6.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
是python2的就OK,脚本应该不支持python3没试过,接着Ctrl + d 退出 python