梅林WEB管理界面中打开
Format JFFS partition at next boot
Enable JFFS custom scripts and configs
重启路由, SSH登录路由器后输入下面代码:
mkdir /jffs/entware
ln -nsf /jffs/entware /tmp/opt
wget -O - http://bin.entware.net/armv7sf-k2.6/installer/alternative.sh | /bin/sh
echo "#!/bin/sh" > /jffs/scripts/services-start
echo "sleep 20" >> /jffs/scripts/services-start
echo "ln -ns /jffs/entware /tmp/opt" >> /jffs/scripts/services-start
echo "/opt/etc/init.d/rc.unslung start" >> /jffs/scripts/services-start
echo "#!/bin/sh" > /jffs/scripts/services-stop
echo "/opt/etc/init.d/rc.unslung stop" >> /jffs/scripts/services-stop
chmod a+rx /jffs/scripts/*
本文由 Yatfan Wong 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: 2023/01/17 14:03