Can't it get from the system? From `/etc/synoinfo.conf` f.ex. DSM version is also checkable, I guess.
Can't it get from the system? From
/etc/synoinfo.conff.ex.DSM version is also checkable, I guess.