找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 12556|回复: 40

分享 LEDE x86_x64 Koolproxy 使用KoolproxyR规则的自动更新脚本

[复制链接]
本帖最后由 wayla 于 2019-9-29 16:58 编辑

从论坛里面拿来的脚本,修改成x86_x64 版本,亲测可用

#!/bin/sh
sleep 3
echo
sleep 3

echo
wget --no-check-certificate -q -O /tmp/tmp/daily.txt https://raw.githubusercontent.co ... s/easylistchina.txt
wget --no-check-certificate -q -O /tmp/tmp/koolproxy_tmp.txt https://raw.githubusercontent.co ... anboy-annoyance.txt
wget --no-check-certificate -q -O /tmp/tmp/kp.dat https://raw.githubusercontent.co ... R/data/rules/kp.dat
wget --no-check-certificate -q -O /tmp/tmp/user_tmp1.txt https://raw.githubusercontent.co ... data/rules/user.txt
wget --no-check-certificate -q -O /tmp/tmp/user_tmp.txt https://gitee.com/hongh2/kpr_vid ... /kpr_video_list.txt
wget --no-check-certificate -q -O /tmp/tmp/daily_tmp.txt https://raw.githubusercontent.co ... ta/rules/yhosts.txt
echo

sleep 3

sleep 3
echo
cat /tmp/tmp/daily_tmp.txt /tmp/tmp/koolproxy_tmp.txt  > /tmp/tmp/koolproxy.txt
echo
cat /tmp/tmp/user_tmp.txt /tmp/tmp/user_tmp1.txt > /tmp/tmp/user.txt
echo

rm -rf /tmp/tmp/daily_tmp.txt /tmp/tmp/koolproxy_tmp.txt /tmp/tmp/user_tmp.txt /tmp/tmp/user_tmp1.txt
echo
sleep 3

echo

sleep 3
echo
echo

sleep 3
echo
echo
sleep 3
echo
sleep 3

if [ -s "/tmp/tmp/koolproxy.txt" ]; then
        mv /tmp/tmp/koolproxy.txt /usr/share/koolproxy/data/rules/koolproxy.txt
    rm /tmp/tmp/koolproxy.txt
fi
echo
if [ -s "/tmp/tmp/daily.txt" ]; then
        mv /tmp/tmp/daily.txt /usr/share/koolproxy/data/rules/daily.txt
        rm /tmp/tmp/daily.txt
fi
echo
echo
if [ -s "/tmp/tmp/user.txt" ]; then
        mv /tmp/tmp/user.txt /usr/share/koolproxy/data/rules/user.txt
        rm /tmp/tmp/user.txt
fi
echo
if [ -s "/tmp/tmp/kp.dat" ]; then
        mv /tmp/tmp/kp.dat /usr/share/koolproxy/data/rules/kp.dat
        rm /tmp/kp.dat
fi
echo

/etc/init.d/koolproxy restart

exit 0


我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
更新必要写详细点
1. 用WinsSCP 连接主机。找到如下目录

2. 点击SCP的编辑。
3. 把上面的代码复制过来。
4. 回到主机,点更新


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

你这个界面不是kp的啊,我老kp不是这样??  详情 回复 发表于 2019-10-2 22:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

X86不是可以直接安装KPR吗?

点评

KPR安装包是酷衰的,x86哪有得装  详情 回复 发表于 2019-9-29 22:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢分享。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

sky540 发表于 2019-9-29 17:39
X86不是可以直接安装KPR吗?

KPR安装包是酷衰的,x86哪有得装

点评

x86下已经可以按照KPR了。  详情 回复 发表于 2019-10-4 14:29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

现在x86的koolproxy去哪里下?有链接吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层



把luci-app-koolproxy_3.8.4-3_x86_64_1.zip 改成luci-app-koolproxy_3.8.4-3_x86_64.z01 然后解压缩

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

谢谢!正需要!  详情 回复 发表于 2020-4-7 10:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

留个脚印,回头看看能用不
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ros下的虚拟机可以用这个脚本更新吗?

点评

这个没试过,不清楚,按说可以  详情 回复 发表于 2019-9-30 14:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
efei1834 发表于 2019-9-30 14:32
ros下的虚拟机可以用这个脚本更新吗?

这个没试过,不清楚,按说可以
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wayla 发表于 2019-9-29 16:28
更新必要写详细点
1. 用WinsSCP 连接主机。找到如下目录

你这个界面不是kp的啊,我老kp不是这样??
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

好像没什么效果呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 chyiori 于 2019-10-4 14:30 编辑
wulishui 发表于 2019-9-29 22:37
KPR安装包是酷衰的,x86哪有得装

x86下已经可以安装KPR了。

点评

兄弟,是否可以说一下。非KOOLSHARE的x86是怎么安装 KPR的吗?  详情 回复 发表于 2019-10-4 22:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

你这是网件哪款路由?  详情 回复 发表于 2020-1-24 14:33
还有个版本上面显示的是KoolProxyR+没有plus的。不知道哪里能下载到。plus+的得开全局模式才可以去视频广告视频模式不行,而R+的选视频模式就行。全局模式下载影响最大速度对CPU负载太高了。  详情 回复 发表于 2019-10-4 21:29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


还有个版本上面显示的是KoolProxyR+没有plus的。不知道哪里能下载到。plus+的得开全局模式才可以去视频广告视频模式不行,而R+的选视频模式就行。全局模式下载影响最大速度对CPU负载太高了。

点评

都用上软路由了,cpu性能过剩,没啥负载  详情 回复 发表于 2019-10-5 08:40
都在本版块。一个帖子。  详情 回复 发表于 2019-10-5 08:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-30 13:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表