OPENWRT挂载RCLONE

Blog2年前 (2023)更新 VoxHuang
511 0 0

安装rclone

opkg update && opkg install rclone

配置rclone

rclone config

配置rclone开机自启动

openwrt安装 procps

opkg update && opkg install procps-ng-ps
reboot

创建 rcloned 文件

wget -N -P /etc/init.d https://github.com/VoxHuang/Tools/raw/main/rcloned

rclone 的手动命令

bash /etc/init.d/rcloned start
bash /etc/init.d/rcloned stop
bash /etc/init.d/rcloned restart

openwrt设置 rclone 开机自启

sed -i '$i\sleep 20 && bash /etc/init.d/rcloned start' /etc/rc.local

或者进入 系统 – 启动项 -本地启动脚本,在 exit 0 之前,插入如下命令:

bash /etc/init.d/rcloned start

bash报错

opkg update && opkg install bash
opkg update && opkg install libreadline

 

© 版权声明

相关文章

暂无评论

暂无评论...