本文默认读者已完成 rclone 配置。

打开启动项,选择本地启动脚本

REMOTE='aliyunpan:/aliyunpan/Media'
LOCAL='/home/aliyunpan'
LOG_FILE="/var/log/rclone-mount.log"
CONFIG='/root/.config/rclone/rclone.conf'
rclone mount $REMOTE $LOCAL --config $CONFIG --allow-other --allow-non-empty --vfs-cache-mode writes --header "Referer:https://www.aliyundrive.com/" >> $LOG_FILE 2>&1 &
修改:添加参数:--header "Referer:https://www.aliyundrive.com/"
其中 REMOTE,LOCAL 根据你自己情况修改。
保存设置,重启 OpenWrt。
如果发现没有挂载完成,可以查看 var/log/rclone-mount.log。
发表回复