* 此功能需要在任意arpl工具内操作

* 此功能需要配合arc的model,yml文件格式,示例格式:file iconDS920+.rar


在项目中下载update.sh文件,项目地址:https://github.com/AuxXxilium/arc-dsm

备用下载:file iconupdate.rar

image.png

使用方法:

上传update.sh到arpl目录,opt/arpl

使用以下代码更改update.sh内容,并创建configs配置文件目录

上传model.yml文件到configs目录

plaintext
#替换下载地址
sed -i 's|www.synology.com/api/support/findDownloadInfo?lang=en-us|www.synology.cn/api/support/findDownloadInfo?lang=zh-cn|g' ./update.sh
#修改解压文件路径
sed -i 's|${CACHE_PATH}/extractor|/mnt/p3/extractor|g' ./update.sh
#创建配置文件夹
mkdir -p configs
#删除配置在线下载任务
sed -i '/rm -f "${CONFIGS}"/d' ./update.sh
sed -i '/mkdir -p "${CONFIGS}"/d' ./update.sh
sed -i '/git clone/d' ./update.sh
#提权
chmod 0755 ./update.sh

开始操作

plaintext
bash update.sh