傻瓜式安装广告过滤大师~
{:5_238:}cd /tmp
wget http://update.adbyby.com/download/7620n.tar.gz -P /tmp
if [ "$?" -eq "0" ] ; then
tar zxf 7620n.tar.gz
chmod 777 adbyby
./adbyby &
process=`ps | grep adbyby | grep -v grep | wc -l`
if [ "$process" -eq "1" ] ; then
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8118
fi
fi
放在启动里面就好 我的是MT7260N 别的CPU 请到广告屏蔽大师官网 把下载链接更换即可~{:5_246:} {:5_239:}记得手动重启{:5_247:}话说if [ "$?" -eq "0" ] ; then 这啥意思我照搬教程{:5_259:} 现在有 luci的了!!
页:
[1]