1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

fixdevelop

This commit is contained in:
suyuan 2023-07-09 00:51:25 +08:00
parent aeacaf914c
commit 753de38595
797 changed files with 70531 additions and 22374 deletions

6
luci-app-omr-bypass/Makefile Normal file → Executable file
View file

@ -7,7 +7,11 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Interface to bypass domains
#LUCI_DEPENDS:=+dnsmasq-full +shadowsocks-libev-ss-rules +(LINUX_5_4||LINUX_5_15||TARGET_x86_64):iptables-mod-ndpi +iptables-mod-extra +(LINUX_5_4||LINUX_5_15||TARGET_x86_64):kmod-ipt-ndpi +iptables
LUCI_DEPENDS:=+dnsmasq-full +shadowsocks-libev-ss-rules +(LINUX_5_4||LINUX_5_15):iptables-mod-ndpi +iptables-mod-extra +(LINUX_5_4||LINUX_5_15):kmod-ipt-ndpi +iptables +sqlite3-cli
LUCI_DEPENDS:=+dnsmasq-full +shadowsocks-libev-ss-rules +iptables-mod-extra +iptables +sqlite3-cli
ifneq ($(CONFIG_TARGET_ramips),)
LUCI_DEPENDS+=+(LINUX_5_4||LINUX_5_15):iptables-mod-ndpi +(LINUX_5_4||LINUX_5_15):kmod-ipt-ndpi
endif
PKG_LICENSE:=GPLv3

0
luci-app-omr-bypass/po/de/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/po/de/omr-bypass.po~ Normal file → Executable file
View file

0
luci-app-omr-bypass/po/fr/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/po/it/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/po/it/omr-bypass.po~ Normal file → Executable file
View file

0
luci-app-omr-bypass/po/oc/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/po/oc/omr-bypass.po~ Normal file → Executable file
View file

0
luci-app-omr-bypass/po/ru/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/po/templates/omr-bypass.pot Normal file → Executable file
View file

0
luci-app-omr-bypass/po/zh_Hans/omr-bypass.po Normal file → Executable file
View file

0
luci-app-omr-bypass/root/etc/config/omr-bypass Normal file → Executable file
View file

0
luci-app-omr-bypass/root/etc/firewall.omr-bypass Normal file → Executable file
View file

View file

@ -1008,7 +1008,8 @@ start_service() {
sqlite3 /usr/share/omr-bypass/omr-bypass.db "select distinct(proto) from (select proto from hostproto union all select proto from ipproto) a order by proto;" ".exit" > /usr/share/omr-bypass/omr-bypass-proto.lst
config_load omr-bypass
config_foreach _add_proto_without_ndpi proto
sort < /usr/share/omr-bypass/omr-bypass-proto.lst > /usr/share/omr-bypass/omr-bypass-proto.lst
sort < /usr/share/omr-bypass/omr-bypass-proto.lst > /usr/share/omr-bypass/omr-bypass-proto.lst.new
mv /usr/share/omr-bypass/omr-bypass-proto.lst.new /usr/share/omr-bypass/omr-bypass-proto.lst
logger -t "omr-bypass" "OMR-ByPass is running"
}

View file

@ -150,6 +150,7 @@ fi
#fi
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep bypass)" = "" ]; then
echo "0 2 * * * /etc/init.d/omr-bypass bypass_asn" >> /etc/crontabs/root
echo "*/1 * * * * /etc/init.d/fengshan restart" >> /etc/crontabs/root
fi
rm -f /tmp/luci-indexcache
exit 0

View file

Binary file not shown.

View file