Hunter的大杂烩 技术学习笔记

2020-03-13

华硕梅林版下载大师与entware冲突的问题

Filed under: 技术话题 — hunter @ 11:48 pm

路由器内自带的APP(比如下载大师)使用的是asusware套件,该套件安装到u盘后,会建立软链到 /tmp/opt ,而entware也要占用/tmp/opt 入口,所以两者不能同时安装。

如果不小心安装了APP,导致/tmp/opt 入口被 asusware占用,可以手动修改/jffs/addons/diversion/mount-entware.div 文件的24和26行:

[code lang=”bash”]

if [ "$opkgFile" ] && [ ! -f /opt/bin/opkg ]; then
mount_entware $1
elif [ "$opkgFile" ] && [ -f /opt/bin/opkg ]; then
logger -t Entware "Not starting Entware services on $1, Entware is already started"

[/code]

确保entware初始化时,能覆盖掉asusware的入口

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress