Update diy
This commit is contained in:
parent
ce997339e7
commit
8151de4785
|
@ -0,0 +1,111 @@
|
|||
'use strict';
|
||||
'require baseclass';
|
||||
'require fs';
|
||||
'require rpc';
|
||||
|
||||
var callSystemBoard = rpc.declare({
|
||||
object: 'system',
|
||||
method: 'board'
|
||||
});
|
||||
|
||||
var callSystemInfo = rpc.declare({
|
||||
object: 'system',
|
||||
method: 'info'
|
||||
});
|
||||
|
||||
var callCPUBench = rpc.declare({
|
||||
object: 'luci',
|
||||
method: 'getCPUBench'
|
||||
});
|
||||
|
||||
var callCPUUsage = rpc.declare({
|
||||
object: 'luci',
|
||||
method: 'getCPUUsage'
|
||||
});
|
||||
|
||||
return baseclass.extend({
|
||||
title: _('System'),
|
||||
|
||||
load: function() {
|
||||
return Promise.all([
|
||||
L.resolveDefault(callSystemBoard(), {}),
|
||||
L.resolveDefault(callSystemInfo(), {}),
|
||||
L.resolveDefault(callCPUBench(), {}),
|
||||
L.resolveDefault(callCPUUsage(), {}),
|
||||
fs.lines('/usr/lib/lua/luci/version.lua')
|
||||
]);
|
||||
},
|
||||
|
||||
render: function(data) {
|
||||
var boardinfo = data[0],
|
||||
systeminfo = data[1],
|
||||
cpubench = data[2],
|
||||
cpuusage = data[3],
|
||||
luciversion = data[4];
|
||||
|
||||
luciversion = luciversion.filter(function(l) {
|
||||
return l.match(/^\s*(luciname|luciversion)\s*=/);
|
||||
}).map(function(l) {
|
||||
return l.replace(/^\s*\w+\s*=\s*['"]([^'"]+)['"].*$/, '$1');
|
||||
}).join(' ');
|
||||
|
||||
var datestr = null;
|
||||
|
||||
if (systeminfo.localtime) {
|
||||
var date = new Date(systeminfo.localtime * 1000);
|
||||
|
||||
datestr = '%04d-%02d-%02d %02d:%02d:%02d'.format(
|
||||
date.getUTCFullYear(),
|
||||
date.getUTCMonth() + 1,
|
||||
date.getUTCDate(),
|
||||
date.getUTCHours(),
|
||||
date.getUTCMinutes(),
|
||||
date.getUTCSeconds()
|
||||
);
|
||||
}
|
||||
|
||||
// TODO: This is ugly
|
||||
var projectlink = document.createElement('a');
|
||||
projectlink.append('kenzo');
|
||||
projectlink.href = 'https://github.com/kenzok8';
|
||||
projectlink.target = '_blank';
|
||||
|
||||
var corelink = document.createElement('a');
|
||||
corelink.append('openwrt_Build');
|
||||
corelink.href = 'https://github.com/kenzok8/openwrt_Build';
|
||||
corelink.target = '_blank';
|
||||
|
||||
var sourcelink = document.createElement('placeholder');
|
||||
sourcelink.append(projectlink);
|
||||
sourcelink.append(' / ');
|
||||
sourcelink.append(corelink);
|
||||
|
||||
var fields = [
|
||||
_('Hostname'), boardinfo.hostname,
|
||||
_('Model'), boardinfo.model + cpubench.cpubench,
|
||||
_('Architecture'), boardinfo.system,
|
||||
_('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''),
|
||||
_('Kernel Version'), boardinfo.kernel,
|
||||
_('Local Time'), datestr,
|
||||
_('Uptime'), systeminfo.uptime ? '%t'.format(systeminfo.uptime) : null,
|
||||
_('Load Average'), Array.isArray(systeminfo.load) ? '%.2f, %.2f, %.2f'.format(
|
||||
systeminfo.load[0] / 65535.0,
|
||||
systeminfo.load[1] / 65535.0,
|
||||
systeminfo.load[2] / 65535.0
|
||||
) : null,
|
||||
_('CPU usage (%)'), cpuusage.cpuusage,
|
||||
_('Source Code'), sourcelink
|
||||
];
|
||||
|
||||
var table = E('table', { 'class': 'table' });
|
||||
|
||||
for (var i = 0; i < fields.length; i += 2) {
|
||||
table.appendChild(E('tr', { 'class': 'tr' }, [
|
||||
E('td', { 'class': 'td left', 'width': '33%' }, [ fields[i] ]),
|
||||
E('td', { 'class': 'td left' }, [ (fields[i + 1] != null) ? fields[i + 1] : '?' ])
|
||||
]));
|
||||
}
|
||||
|
||||
return table;
|
||||
}
|
||||
});
|
15
diy/18.06.sh
15
diy/18.06.sh
|
@ -58,8 +58,8 @@ svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
|
|||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
|
||||
svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-adguardhome
|
||||
svn co https://github.com/kiddin9/openwrt-packages/trunk/adguardhome
|
||||
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
|
||||
svn co https://github.com/kenzok8/jell/trunk/adguardhome
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/smartdns
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-gost
|
||||
|
@ -69,6 +69,17 @@ svn co https://github.com/kenzok8/litte/trunk/luci-theme-atmaterial_new
|
|||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-mcat
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-tomato
|
||||
|
||||
svn co https://github.com/immortalwrt/packages/trunk/admin/bpytop
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/jpcre2
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/wxbase
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/libcron
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/rapidjson
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/quickjspp
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/toml11
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/qtbase
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/qttools
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/rblibtorrent
|
||||
|
||||
|
||||
rm -rf ./*/.git & rm -f ./*/.gitattributes
|
||||
rm -rf ./*/.svn & rm -rf ./*/.github & rm -rf ./*/.gitignore
|
||||
|
|
73
diy/19.07.sh
73
diy/19.07.sh
|
@ -1,73 +0,0 @@
|
|||
#!/bin/bash
|
||||
git clone https://github.com/garypang13/luci-app-dnsfilter
|
||||
git clone https://github.com/garypang13/luci-theme-edge
|
||||
git clone https://github.com/tty228/luci-app-serverchan
|
||||
git clone https://github.com/jerrykuku/luci-theme-argon
|
||||
git clone https://github.com/jerrykuku/luci-app-argon-config
|
||||
git clone https://github.com/jerrykuku/luci-app-vssr
|
||||
git clone https://github.com/jerrykuku/luci-app-jd-dailybonus
|
||||
git clone https://github.com/zzsj0928/luci-app-pushbot
|
||||
git clone https://github.com/BCYDTZ/luci-app-UUGameAcc
|
||||
git clone https://github.com/garypang13/luci-app-eqos
|
||||
git clone https://github.com/BoringCat/luci-app-mentohust
|
||||
git clone https://github.com/small-5/luci-app-xlnetacc
|
||||
git clone https://github.com/project-lede/luci-app-godproxy
|
||||
git clone https://github.com/sirpdboy/luci-app-advanced
|
||||
git clone https://github.com/ntlf9t/luci-app-easymesh
|
||||
git clone https://github.com/walkingsky/luci-wifidog luci-app-wifidog
|
||||
git clone https://github.com/linkease/ddnsto-openwrt
|
||||
svn co https://github.com/messense/aliyundrive-webdav/trunk/openwrt/aliyundrive-webdav
|
||||
svn co https://github.com/messense/aliyundrive-webdav/trunk/openwrt/luci-app-aliyundrive-webdav
|
||||
svn co https://github.com/garypang13/openwrt-bypass/trunk/luci-app-bypass
|
||||
svn co https://github.com/garypang13/openwrt-bypass/trunk/lua-maxminddb
|
||||
svn co https://github.com/garypang13/openwrt-bypass/trunk/smartdns-le
|
||||
svn co https://github.com/kenzok8/my-packages/trunk/luci-app-gpsysupgrade
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/gost
|
||||
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
|
||||
svn co https://github.com/frainzy1477/luci-app-clash/trunk ./luci-app-clash
|
||||
svn co https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-ddns/trunk/tencentcloud_ddns luci-app-tencentddns
|
||||
svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/luci-app-passwall
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/hysteria
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/kcptun
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocks-rust
|
||||
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocksr-libev
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-core
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-plugin
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-core
|
||||
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-plugin
|
||||
svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-koolddns
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
|
||||
svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-adguardhome
|
||||
svn co https://github.com/kiddin9/openwrt-packages/trunk/adguardhome
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/smartdns
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-gost
|
||||
|
||||
|
||||
|
||||
rm -rf ./*/.git
|
||||
rm -f ./*/.gitattributes
|
||||
rm -rf ./*/.svn
|
||||
rm -rf ./*/.github
|
||||
rm -rf ./*/.gitignore
|
||||
exit 0
|
|
@ -0,0 +1,148 @@
|
|||
CONFIG_TARGET_x86=y
|
||||
CONFIG_TARGET_x86_64=y
|
||||
CONFIG_TARGET_x86_64_DEVICE_generic=y
|
||||
# CONFIG_GRUB_CONSOLE is not set
|
||||
# CONFIG_GRUB_IMAGES is not set
|
||||
CONFIG_GRUB_TITLE="Build kenzo"
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_CRYPTO_AUTH=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_LDAP=y
|
||||
CONFIG_LIBCURL_LDAPS=y
|
||||
CONFIG_LIBCURL_NGHTTP2=y
|
||||
CONFIG_LIBCURL_OPENSSL=y
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LIBCURL_TFTP=y
|
||||
CONFIG_LIBCURL_THREADED_RESOLVER=y
|
||||
CONFIG_LIBCURL_TLS_SRP=y
|
||||
CONFIG_LIBCURL_UNIX_SOCKETS=y
|
||||
CONFIG_LIBMBEDTLS_HAVE_SSE2=y
|
||||
CONFIG_LIBSODIUM_MINIMAL=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_coreutils=y
|
||||
CONFIG_PACKAGE_coreutils-base64=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_ddns-scripts=y
|
||||
CONFIG_PACKAGE_ddns-scripts-services=y
|
||||
CONFIG_PACKAGE_dns2socks=y
|
||||
# CONFIG_PACKAGE_fdisk is not set
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_ip-full=y
|
||||
CONFIG_PACKAGE_ip6tables=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-ip6tables=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipt6=y
|
||||
CONFIG_PACKAGE_kmod-nf-reject6=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libbpf=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcap-ng=y
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libev=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnghttp2=y
|
||||
CONFIG_PACKAGE_libnss=y
|
||||
CONFIG_PACKAGE_libopenldap=y
|
||||
CONFIG_PACKAGE_libpcre=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libsasl2=y
|
||||
CONFIG_PACKAGE_libsodium=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libuci-lua=y
|
||||
CONFIG_PACKAGE_libudns=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
# CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary is not set
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
CONFIG_PACKAGE_luci-app-autoreboot=y
|
||||
CONFIG_PACKAGE_luci-app-ddns=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-theme-argon=y
|
||||
CONFIG_PACKAGE_microsocks=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_naiveproxy=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_nspr=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-config=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
CONFIG_PACKAGE_shadowsocks-rust-sslocal=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-check=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-server=y
|
||||
CONFIG_PACKAGE_simple-obfs-client=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_xray-core=y
|
||||
CONFIG_PACKAGE_xray-geodata=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_PCRE_JIT_ENABLED=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_ENABLE_COLUMN_METADATA=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=330
|
||||
# CONFIG_TARGET_ROOTFS_TARGZ is not set
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_XRAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
|
@ -0,0 +1,36 @@
|
|||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
ARCH:=i386
|
||||
BOARD:=x86
|
||||
BOARDNAME:=x86
|
||||
FEATURES:=squashfs vdi vmdk pcmcia fpu boot-part rootfs-part
|
||||
SUBTARGETS:=64 generic legacy geode
|
||||
|
||||
KERNEL_PATCHVER:=4.19
|
||||
KERNEL_TESTING_PATCHVER:=4.19
|
||||
|
||||
KERNELNAME:=bzImage
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
DEFAULT_PACKAGES += partx-utils mkf2fs fdisk e2fsprogs wpad kmod-usb-hid kmod-mmc-spi kmod-sdhci \
|
||||
kmod-ath5k kmod-ath9k kmod-ath9k-htc kmod-ath10k kmod-rt2800-usb kmod-e1000e kmod-igb kmod-igbvf kmod-ixgbe kmod-pcnet32 kmod-tulip kmod-vmxnet3 kmod-i40e kmod-i40evf kmod-r8125 kmod-8139cp kmod-8139too kmod-fs-f2fs \
|
||||
htop lm-sensors autocore-x86 automount autosamba luci-app-adbyby-plus luci-app-ipsec-vpnd luci-proto-bonding luci-app-unblockmusic luci-app-zerotier luci-app-xlnetacc ddns-scripts_aliyun ddns-scripts_dnspod ca-certificates \
|
||||
ath10k-firmware-qca988x ath10k-firmware-qca9888 ath10k-firmware-qca9984 brcmfmac-firmware-43602a1-pcie \
|
||||
kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-codec-via kmod-sound-via82xx kmod-sound-hda-intel kmod-sound-hda-codec-hdmi kmod-sound-i8x0 kmod-usb-audio \
|
||||
kmod-usb-net kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net-rtl8150 kmod-usb-net-rtl8152 kmod-r8168 kmod-mlx4-core kmod-mlx5-core kmod-drm-amdgpu
|
||||
|
||||
$(eval $(call BuildTarget))
|
||||
|
||||
$(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
|
||||
Please install mkisofs. , \
|
||||
mkisofs -v 2>&1 , \
|
||||
genisoimage -v 2>&1 | grep genisoimage, \
|
||||
xorrisofs -v 2>&1 | grep xorriso \
|
||||
))
|
|
@ -0,0 +1,112 @@
|
|||
CONFIG_TARGET_x86=y
|
||||
CONFIG_TARGET_x86_64=y
|
||||
CONFIG_TARGET_x86_64_DEVICE_generic=y
|
||||
# CONFIG_FEED_helloworld is not set
|
||||
# CONFIG_FEED_luci is not set
|
||||
# CONFIG_FEED_packages is not set
|
||||
# CONFIG_FEED_passwall is not set
|
||||
# CONFIG_FEED_routing is not set
|
||||
# CONFIG_FEED_telephony is not set
|
||||
# CONFIG_GRUB_CONSOLE is not set
|
||||
# CONFIG_PACKAGE_adbyby is not set
|
||||
# CONFIG_PACKAGE_autosamba is not set
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
# CONFIG_PACKAGE_etherwake is not set
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
# CONFIG_PACKAGE_iptables-mod-ipsec is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-cbc is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-deflate is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-des is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-echainiv is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-md5 is not set
|
||||
# CONFIG_PACKAGE_kmod-ipsec is not set
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
# CONFIG_PACKAGE_kmod-ipt-ipsec is not set
|
||||
# CONFIG_PACKAGE_kmod-iptunnel6 is not set
|
||||
# CONFIG_PACKAGE_kmod-tun is not set
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
# CONFIG_PACKAGE_libminiupnpc is not set
|
||||
# CONFIG_PACKAGE_libnatpmp is not set
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
# CONFIG_PACKAGE_luci-app-accesscontrol is not set
|
||||
# CONFIG_PACKAGE_luci-app-adbyby-plus is not set
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
# CONFIG_PACKAGE_luci-app-arpbind is not set
|
||||
# CONFIG_PACKAGE_luci-app-ipsec-vpnd is not set
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
# CONFIG_PACKAGE_luci-app-nlbwmon is not set
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
# CONFIG_PACKAGE_luci-app-qbittorrent is not set
|
||||
# CONFIG_PACKAGE_luci-app-ramfree is not set
|
||||
# CONFIG_PACKAGE_luci-app-samba is not set
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
||||
# CONFIG_PACKAGE_luci-app-uugamebooster is not set
|
||||
# CONFIG_PACKAGE_luci-app-vlmcsd is not set
|
||||
# CONFIG_PACKAGE_luci-app-vsftpd is not set
|
||||
# CONFIG_PACKAGE_luci-app-wol is not set
|
||||
# CONFIG_PACKAGE_luci-app-xlnetacc is not set
|
||||
# CONFIG_PACKAGE_luci-app-zerotier is not set
|
||||
CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-theme-argon_new=y
|
||||
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
# CONFIG_PACKAGE_qBittorrent-static is not set
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
# CONFIG_PACKAGE_samba36-server is not set
|
||||
# CONFIG_PACKAGE_strongswan is not set
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
# CONFIG_PACKAGE_uugamebooster is not set
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
# CONFIG_PACKAGE_vlmcsd is not set
|
||||
# CONFIG_PACKAGE_vsftpd-alt is not set
|
||||
# CONFIG_PACKAGE_wol is not set
|
||||
# CONFIG_PACKAGE_wsdd2 is not set
|
||||
# CONFIG_PACKAGE_zerotier is not set
|
||||
CONFIG_TARGET_IMAGES_GZIP=y
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=220
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
# CONFIG_VMDK_IMAGES is not set
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
||||
CONFIG_PACKAGE_UnblockNeteaseMusic-Go=y
|
||||
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
|
@ -0,0 +1,177 @@
|
|||
CONFIG_TARGET_x86=y
|
||||
CONFIG_TARGET_x86_64=y
|
||||
CONFIG_TARGET_x86_64_Generic=y
|
||||
CONFIG_EFI_IMAGES=y
|
||||
# CONFIG_GRUB_CONSOLE is not set
|
||||
# CONFIG_GRUB_IMAGES is not set
|
||||
CONFIG_LIBSODIUM_MINIMAL=y
|
||||
# CONFIG_PACKAGE_autosamba is not set
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_coreutils=y
|
||||
CONFIG_PACKAGE_coreutils-base64=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_dns2socks=y
|
||||
CONFIG_PACKAGE_grub2-efi=y
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_ip-full=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipsec=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-crypto-authenc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-iv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-wq=y
|
||||
CONFIG_PACKAGE_kmod-fast-classifier=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipsec6=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipt-raw=y
|
||||
CONFIG_PACKAGE_kmod-ipt-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
CONFIG_PACKAGE_kmod-sched=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-shortcut-fe=y
|
||||
CONFIG_PACKAGE_kmod-tcp-bbr=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libev=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libminiupnpc=y
|
||||
CONFIG_PACKAGE_libnatpmp=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libsodium=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libudns=y
|
||||
CONFIG_PACKAGE_libustream-openssl=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
# CONFIG_PACKAGE_luci-app-control-timewol is not set
|
||||
# CONFIG_PACKAGE_luci-app-control-webrestriction is not set
|
||||
# CONFIG_PACKAGE_luci-app-control-weburl is not set
|
||||
CONFIG_PACKAGE_luci-app-filetransfer=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
# CONFIG_PACKAGE_luci-app-ramfree is not set
|
||||
# CONFIG_PACKAGE_luci-app-samba is not set
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
# CONFIG_PACKAGE_luci-app-timecontrol is not set
|
||||
CONFIG_PACKAGE_luci-app-turboacc=y
|
||||
# CONFIG_PACKAGE_luci-app-usb-printer is not set
|
||||
# CONFIG_PACKAGE_luci-app-vlmcsd is not set
|
||||
# CONFIG_PACKAGE_luci-app-vsftpd is not set
|
||||
# CONFIG_PACKAGE_luci-app-wol is not set
|
||||
CONFIG_PACKAGE_luci-i18n-filetransfer-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ssr-plus-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-turboacc-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-lib-fs=y
|
||||
CONFIG_PACKAGE_luci-theme-argon_new=y
|
||||
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
|
||||
CONFIG_PACKAGE_microsocks=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_pdnsd-alt=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-check=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-server=y
|
||||
CONFIG_PACKAGE_simple-obfs=y
|
||||
CONFIG_PACKAGE_strongswan=y
|
||||
CONFIG_PACKAGE_strongswan-charon=y
|
||||
CONFIG_PACKAGE_strongswan-ipsec=y
|
||||
CONFIG_PACKAGE_strongswan-minimal=y
|
||||
CONFIG_PACKAGE_strongswan-mod-aes=y
|
||||
CONFIG_PACKAGE_strongswan-mod-gmp=y
|
||||
CONFIG_PACKAGE_strongswan-mod-hmac=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-netlink=y
|
||||
CONFIG_PACKAGE_strongswan-mod-nonce=y
|
||||
CONFIG_PACKAGE_strongswan-mod-pubkey=y
|
||||
CONFIG_PACKAGE_strongswan-mod-random=y
|
||||
CONFIG_PACKAGE_strongswan-mod-sha1=y
|
||||
CONFIG_PACKAGE_strongswan-mod-socket-default=y
|
||||
CONFIG_PACKAGE_strongswan-mod-stroke=y
|
||||
CONFIG_PACKAGE_strongswan-mod-updown=y
|
||||
CONFIG_PACKAGE_strongswan-mod-x509=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xauth-generic=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xcbc=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
# CONFIG_PACKAGE_vlmcsd is not set
|
||||
# CONFIG_PACKAGE_vsftpd-alt is not set
|
||||
CONFIG_PACKAGE_xray-core=y
|
||||
CONFIG_PACKAGE_xray-geodata=y
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE="220"
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO="220"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=300
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_etherwake=y
|
||||
CONFIG_PACKAGE_iptables-mod-filter=y
|
||||
CONFIG_PACKAGE_kmod-ipt-filter=y
|
||||
CONFIG_PACKAGE_kmod-lib-textsearch=y
|
||||
CONFIG_PACKAGE_kmod-usb-printer=y
|
||||
CONFIG_PACKAGE_p910nd=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_wsdd2=y
|
|
@ -0,0 +1,339 @@
|
|||
CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_LIBCURL_MBEDTLS=y
|
||||
# CONFIG_LIBCURL_OPENSSL is not set
|
||||
CONFIG_LIBMBEDTLS_HAVE_ARMV8CE_AES=y
|
||||
CONFIG_NFS_KERNEL_SERVER_V4=y
|
||||
CONFIG_NODEJS_14=y
|
||||
CONFIG_NODEJS_ICU_NONE=y
|
||||
CONFIG_OCSERV_HTTP_PARSER=y
|
||||
CONFIG_OCSERV_PROTOBUF=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_DEF_AUTH=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_FRAGMENT=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZ4=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZO=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_MULTIHOME=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PF=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PORT_SHARE=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_6in4=y
|
||||
CONFIG_PACKAGE_UnblockNeteaseMusic=y
|
||||
# CONFIG_PACKAGE_UnblockNeteaseMusic-Go is not set
|
||||
CONFIG_PACKAGE_bandwidthd=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_bind-client=y
|
||||
CONFIG_PACKAGE_bind-libs=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_certtool=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
CONFIG_PACKAGE_ddns-scripts_freedns_42_pl=y
|
||||
CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1=y
|
||||
CONFIG_PACKAGE_ddns-scripts_no-ip_com=y
|
||||
CONFIG_PACKAGE_ddns-scripts_nsupdate=y
|
||||
CONFIG_PACKAGE_ddns-scripts_route53-v1=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_auth=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
|
||||
CONFIG_PACKAGE_dnsmasq_full_noid=y
|
||||
# CONFIG_PACKAGE_fdisk is not set
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_https-dns-proxy=y
|
||||
CONFIG_PACKAGE_ip6tables=y
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
CONFIG_PACKAGE_ipset-dns=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipsec=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_kcptun-client=y
|
||||
CONFIG_PACKAGE_kmod-atm=y
|
||||
CONFIG_PACKAGE_kmod-br-netfilter=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ccm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cts=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ecdh=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-fcrypt=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hw-hifn-795x=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hw-padlock=y
|
||||
CONFIG_PACKAGE_kmod-crypto-kpp=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-blake2s=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md4=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-michael-mic=y
|
||||
CONFIG_PACKAGE_kmod-crypto-misc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-pcbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rmd160=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha512=y
|
||||
CONFIG_PACKAGE_kmod-crypto-test=y
|
||||
CONFIG_PACKAGE_kmod-crypto-xcbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-xts=y
|
||||
CONFIG_PACKAGE_kmod-dax=y
|
||||
CONFIG_PACKAGE_kmod-dm=y
|
||||
CONFIG_PACKAGE_kmod-dnsresolver=y
|
||||
CONFIG_PACKAGE_kmod-eeprom-93cx6=y
|
||||
CONFIG_PACKAGE_kmod-fast-classifier=m
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-cifs=y
|
||||
CONFIG_PACKAGE_kmod-fs-configfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-exportfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-nfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-nfs-common=y
|
||||
CONFIG_PACKAGE_kmod-fs-nfs-common-rpcsec=y
|
||||
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
|
||||
CONFIG_PACKAGE_kmod-fs-nfsd=y
|
||||
CONFIG_PACKAGE_kmod-hid=y
|
||||
CONFIG_PACKAGE_kmod-hid-generic=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ikconfig=y
|
||||
CONFIG_PACKAGE_kmod-input-core=y
|
||||
CONFIG_PACKAGE_kmod-input-evdev=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipsec6=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipt-nat6=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-keys-encrypted=y
|
||||
CONFIG_PACKAGE_kmod-keys-trusted=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-libphy=y
|
||||
CONFIG_PACKAGE_kmod-nf-nat6=y
|
||||
CONFIG_PACKAGE_kmod-nft-bridge=y
|
||||
CONFIG_PACKAGE_kmod-nft-core=y
|
||||
CONFIG_PACKAGE_kmod-nft-netdev=y
|
||||
CONFIG_PACKAGE_kmod-random-core=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-sit=y
|
||||
CONFIG_PACKAGE_kmod-tpm=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-usb-ehci=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-asix=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y
|
||||
CONFIG_PACKAGE_kmod-usb-printer=y
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
CONFIG_PACKAGE_kmod-usb-xhci-hcd=y
|
||||
CONFIG_PACKAGE_kmod-usb2=y
|
||||
CONFIG_PACKAGE_kmod-usb3=y
|
||||
CONFIG_PACKAGE_kmod-usbip=y
|
||||
CONFIG_PACKAGE_kmod-usbip-client=y
|
||||
CONFIG_PACKAGE_kmod-wireguard=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libdevmapper=y
|
||||
CONFIG_PACKAGE_libevdev=y
|
||||
CONFIG_PACKAGE_libgd=y
|
||||
CONFIG_PACKAGE_libgmp=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libhttp-parser=y
|
||||
CONFIG_PACKAGE_libjpeg-turbo=y
|
||||
CONFIG_PACKAGE_libkeyutils=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnetfilter-conntrack=y
|
||||
CONFIG_PACKAGE_libnettle=y
|
||||
CONFIG_PACKAGE_libnfnetlink=y
|
||||
CONFIG_PACKAGE_libnftnl=y
|
||||
CONFIG_PACKAGE_libnghttp2=y
|
||||
CONFIG_PACKAGE_libnss=y
|
||||
CONFIG_PACKAGE_libpcap=y
|
||||
CONFIG_PACKAGE_libpng=y
|
||||
CONFIG_PACKAGE_libprotobuf-c=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libtirpc=y
|
||||
CONFIG_PACKAGE_libudev-zero=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libuv=y
|
||||
CONFIG_PACKAGE_libwebp=y
|
||||
CONFIG_PACKAGE_libwebsockets-full=y
|
||||
CONFIG_PACKAGE_libwrap=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
CONFIG_PACKAGE_lsblk=y
|
||||
# CONFIG_PACKAGE_luci-app-accesscontrol is not set
|
||||
# CONFIG_PACKAGE_luci-app-arpbind is not set
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
# CONFIG_PACKAGE_luci-app-nlbwmon is not set
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
# CONFIG_PACKAGE_luci-app-ramfree is not set
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_NaiveProxy=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
||||
# CONFIG_PACKAGE_luci-app-vlmcsd is not set
|
||||
# CONFIG_PACKAGE_luci-app-vsftpd is not set
|
||||
# CONFIG_PACKAGE_luci-app-wol is not set
|
||||
# CONFIG_PACKAGE_luci-app-zerotier is not set
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-lib-json=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-wireguard=y
|
||||
CONFIG_PACKAGE_luci-theme-argon_new=y
|
||||
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
|
||||
CONFIG_PACKAGE_mount-utils=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_naiveproxy=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_netdata=y
|
||||
CONFIG_PACKAGE_nfs-kernel-server=y
|
||||
CONFIG_PACKAGE_nfs-kernel-server-utils=y
|
||||
CONFIG_PACKAGE_nfs-utils=y
|
||||
CONFIG_PACKAGE_nfs-utils-libs=y
|
||||
CONFIG_PACKAGE_nft-qos=y
|
||||
CONFIG_PACKAGE_nftables-nojson=y
|
||||
CONFIG_PACKAGE_node=y
|
||||
CONFIG_PACKAGE_npc=y
|
||||
CONFIG_PACKAGE_nspr=y
|
||||
CONFIG_PACKAGE_ocserv=y
|
||||
CONFIG_PACKAGE_odhcp6c=y
|
||||
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
|
||||
CONFIG_PACKAGE_odhcpd-ipv6only=y
|
||||
CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0
|
||||
CONFIG_PACKAGE_openssh-sftp-client=y
|
||||
CONFIG_PACKAGE_openvpn-easy-rsa=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_p54-usb-firmware=y
|
||||
CONFIG_PACKAGE_p910nd=y
|
||||
CONFIG_PACKAGE_rpcbind=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-config=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
CONFIG_PACKAGE_simple-obfs=y
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_ssocks=y
|
||||
CONFIG_PACKAGE_strongswan=y
|
||||
CONFIG_PACKAGE_strongswan-charon=y
|
||||
CONFIG_PACKAGE_strongswan-ipsec=y
|
||||
CONFIG_PACKAGE_strongswan-minimal=y
|
||||
CONFIG_PACKAGE_strongswan-mod-aes=y
|
||||
CONFIG_PACKAGE_strongswan-mod-gmp=y
|
||||
CONFIG_PACKAGE_strongswan-mod-hmac=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-netlink=y
|
||||
CONFIG_PACKAGE_strongswan-mod-nonce=y
|
||||
CONFIG_PACKAGE_strongswan-mod-pubkey=y
|
||||
CONFIG_PACKAGE_strongswan-mod-random=y
|
||||
CONFIG_PACKAGE_strongswan-mod-sha1=y
|
||||
CONFIG_PACKAGE_strongswan-mod-socket-default=y
|
||||
CONFIG_PACKAGE_strongswan-mod-stroke=y
|
||||
CONFIG_PACKAGE_strongswan-mod-updown=y
|
||||
CONFIG_PACKAGE_strongswan-mod-x509=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xauth-generic=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xcbc=y
|
||||
CONFIG_PACKAGE_tc-mod-iptables=y
|
||||
CONFIG_PACKAGE_tc-tiny=y
|
||||
CONFIG_PACKAGE_trojan-go=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_ttyd=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_usbids=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
# CONFIG_PACKAGE_vsftpd-alt is not set
|
||||
CONFIG_PACKAGE_wireguard-tools=y
|
||||
CONFIG_PACKAGE_wireless-regdb=y
|
||||
CONFIG_RPCBIND_LIBWRAP=y
|
||||
CONFIG_RPCBIND_RMTCALLS=y
|
||||
# CONFIG_SIGNATURE_CHECK is not set
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE="220"
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO="220"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=64
|
||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=500
|
||||
CONFIG_TROJAN_GO_COMPRESS_UPX=y
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
||||
CONFIG_PACKAGE_etherwake=y
|
||||
CONFIG_PACKAGE_libminiupnpc=y
|
||||
CONFIG_PACKAGE_libnatpmp=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_vlmcsd=y
|
||||
CONFIG_PACKAGE_wol=y
|
||||
CONFIG_PACKAGE_zerotier=y
|
||||
# CONFIG_ZEROTIER_ENABLE_DEBUG is not set
|
||||
# CONFIG_ZEROTIER_ENABLE_SELFTEST is not set
|
|
@ -0,0 +1,512 @@
|
|||
CONFIG_TARGET_rockchip=y
|
||||
CONFIG_TARGET_rockchip_armv8=y
|
||||
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r4s=y
|
||||
CONFIG_DEVEL=y
|
||||
CONFIG_ATH_USER_REGD=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
CONFIG_DRIVER_11N_SUPPORT=y
|
||||
CONFIG_DROPBEAR_ECC=y
|
||||
CONFIG_DROPBEAR_ECC_FULL=y
|
||||
CONFIG_GNUTLS_ALPN=y
|
||||
CONFIG_GNUTLS_ANON=y
|
||||
CONFIG_GNUTLS_CRYPTODEV=y
|
||||
CONFIG_GNUTLS_DTLS_SRTP=y
|
||||
CONFIG_GNUTLS_HEARTBEAT=y
|
||||
CONFIG_GNUTLS_OCSP=y
|
||||
CONFIG_GNUTLS_PSK=y
|
||||
CONFIG_LIBCURL_CRYPTO_AUTH=y
|
||||
CONFIG_LIBCURL_LDAP=y
|
||||
CONFIG_LIBCURL_LDAPS=y
|
||||
CONFIG_LIBCURL_NGHTTP2=y
|
||||
CONFIG_LIBCURL_TFTP=y
|
||||
CONFIG_LIBCURL_THREADED_RESOLVER=y
|
||||
CONFIG_LIBCURL_TLS_SRP=y
|
||||
CONFIG_LIBCURL_UNIX_SOCKETS=y
|
||||
CONFIG_LIBMBEDTLS_HAVE_ARMV8CE_AES=y
|
||||
CONFIG_OCSERV_HTTP_PARSER=y
|
||||
CONFIG_OCSERV_PROTOBUF=y
|
||||
CONFIG_OPENCONNECT_GNUTLS=y
|
||||
CONFIG_OPENSSL_WITH_ARIA=y
|
||||
CONFIG_OPENSSL_WITH_CAMELLIA=y
|
||||
CONFIG_OPENSSL_WITH_COMPRESSION=y
|
||||
CONFIG_OPENSSL_WITH_DTLS=y
|
||||
CONFIG_OPENSSL_WITH_EC2M=y
|
||||
CONFIG_OPENSSL_WITH_IDEA=y
|
||||
CONFIG_OPENSSL_WITH_RFC3779=y
|
||||
CONFIG_OPENSSL_WITH_SEED=y
|
||||
CONFIG_OPENSSL_WITH_SM234=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_DEF_AUTH=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_FRAGMENT=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZ4=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_LZO=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_MULTIHOME=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PF=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_PORT_SHARE=y
|
||||
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
|
||||
CONFIG_PACKAGE_6in4=y
|
||||
CONFIG_PACKAGE_ATH_DFS=y
|
||||
CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y
|
||||
CONFIG_PACKAGE_MAC80211_DEBUGFS=y
|
||||
CONFIG_PACKAGE_MAC80211_MESH=y
|
||||
# CONFIG_PACKAGE_UnblockNeteaseMusic-Go is not set
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_bc=y
|
||||
CONFIG_PACKAGE_bind-client=y
|
||||
CONFIG_PACKAGE_bind-dig=y
|
||||
CONFIG_PACKAGE_bind-libs=y
|
||||
CONFIG_PACKAGE_blkid=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-date_time=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_brook=y
|
||||
CONFIG_PACKAGE_btrfs-progs=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_ccrypt=y
|
||||
CONFIG_PACKAGE_certtool=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_chinadns-ng=y
|
||||
CONFIG_PACKAGE_collectd=y
|
||||
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||
CONFIG_PACKAGE_collectd-mod-df=y
|
||||
CONFIG_PACKAGE_collectd-mod-disk=y
|
||||
CONFIG_PACKAGE_collectd-mod-dns=y
|
||||
CONFIG_PACKAGE_collectd-mod-ethstat=y
|
||||
CONFIG_PACKAGE_collectd-mod-exec=y
|
||||
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||
CONFIG_PACKAGE_collectd-mod-iptables=y
|
||||
CONFIG_PACKAGE_collectd-mod-irq=y
|
||||
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_collectd-mod-load=y
|
||||
CONFIG_PACKAGE_collectd-mod-memory=y
|
||||
CONFIG_PACKAGE_collectd-mod-netlink=y
|
||||
CONFIG_PACKAGE_collectd-mod-network=y
|
||||
CONFIG_PACKAGE_collectd-mod-processes=y
|
||||
CONFIG_PACKAGE_collectd-mod-protocols=y
|
||||
CONFIG_PACKAGE_collectd-mod-rrdtool=y
|
||||
CONFIG_PACKAGE_collectd-mod-sensors=y
|
||||
CONFIG_PACKAGE_collectd-mod-sqm=y
|
||||
CONFIG_PACKAGE_collectd-mod-tcpconns=y
|
||||
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||
CONFIG_PACKAGE_collectd-mod-uptime=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y
|
||||
CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1=y
|
||||
CONFIG_PACKAGE_ddns-scripts_no-ip_com=y
|
||||
CONFIG_PACKAGE_ddns-scripts_nsupdate=y
|
||||
CONFIG_PACKAGE_dmesg=y
|
||||
CONFIG_PACKAGE_dnsforwarder=y
|
||||
CONFIG_PACKAGE_giflib-utils=y
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_hostapd-common=y
|
||||
CONFIG_PACKAGE_https-dns-proxy=y
|
||||
CONFIG_PACKAGE_i2c-tools=y
|
||||
CONFIG_PACKAGE_iftop=y
|
||||
CONFIG_PACKAGE_igmpproxy=y
|
||||
CONFIG_PACKAGE_ip6tables=y
|
||||
CONFIG_PACKAGE_ip6tables-mod-nat=y
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipsec=y
|
||||
CONFIG_PACKAGE_iputils-arping=y
|
||||
CONFIG_PACKAGE_ipv6helper=y
|
||||
CONFIG_PACKAGE_iw=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_jq=y
|
||||
CONFIG_PACKAGE_kcptun-client=y
|
||||
CONFIG_PACKAGE_kmod-ata-core=y
|
||||
CONFIG_PACKAGE_kmod-ath=y
|
||||
CONFIG_PACKAGE_kmod-ath6kl=y
|
||||
CONFIG_PACKAGE_kmod-ath6kl-usb=y
|
||||
CONFIG_PACKAGE_kmod-cfg80211=y
|
||||
CONFIG_PACKAGE_kmod-crypto-acompress=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ccm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ctr=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cts=y
|
||||
CONFIG_PACKAGE_kmod-crypto-deflate=y
|
||||
CONFIG_PACKAGE_kmod-crypto-des=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ecdh=y
|
||||
CONFIG_PACKAGE_kmod-crypto-echainiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-fcrypt=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gcm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-gf128=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ghash=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hw-hifn-795x=y
|
||||
CONFIG_PACKAGE_kmod-crypto-hw-padlock=y
|
||||
CONFIG_PACKAGE_kmod-crypto-kpp=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-blake2s=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md4=y
|
||||
CONFIG_PACKAGE_kmod-crypto-md5=y
|
||||
CONFIG_PACKAGE_kmod-crypto-michael-mic=y
|
||||
CONFIG_PACKAGE_kmod-crypto-misc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-pcbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rmd160=y
|
||||
CONFIG_PACKAGE_kmod-crypto-rng=y
|
||||
CONFIG_PACKAGE_kmod-crypto-seqiv=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha256=y
|
||||
CONFIG_PACKAGE_kmod-crypto-sha512=y
|
||||
CONFIG_PACKAGE_kmod-crypto-test=y
|
||||
CONFIG_PACKAGE_kmod-crypto-xcbc=y
|
||||
CONFIG_PACKAGE_kmod-crypto-xts=y
|
||||
CONFIG_PACKAGE_kmod-fast-classifier=m
|
||||
CONFIG_PACKAGE_kmod-fs-btrfs=y
|
||||
CONFIG_PACKAGE_kmod-fs-cifs=y
|
||||
CONFIG_PACKAGE_kmod-hwmon-core=y
|
||||
CONFIG_PACKAGE_kmod-hwmon-drivetemp=y
|
||||
CONFIG_PACKAGE_kmod-hwmon-gpiofan=y
|
||||
CONFIG_PACKAGE_kmod-hwmon-pwmfan=y
|
||||
CONFIG_PACKAGE_kmod-i2c-algo-bit=y
|
||||
CONFIG_PACKAGE_kmod-i2c-core=y
|
||||
CONFIG_PACKAGE_kmod-i2c-gpio=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipsec4=y
|
||||
CONFIG_PACKAGE_kmod-ipsec6=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipsec=y
|
||||
CONFIG_PACKAGE_kmod-ipt-nat6=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-iptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-leds-gpio=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-gpio=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc-itu-t=y
|
||||
CONFIG_PACKAGE_kmod-lib-crc32c=y
|
||||
CONFIG_PACKAGE_kmod-lib-lzo=y
|
||||
CONFIG_PACKAGE_kmod-lib-raid6=y
|
||||
CONFIG_PACKAGE_kmod-lib-xor=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
|
||||
CONFIG_PACKAGE_kmod-lib-zstd=y
|
||||
CONFIG_PACKAGE_kmod-mac80211=y
|
||||
CONFIG_PACKAGE_kmod-mt76-core=y
|
||||
CONFIG_PACKAGE_kmod-mt76-usb=y
|
||||
CONFIG_PACKAGE_kmod-mt76x0-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x02-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x02-usb=y
|
||||
CONFIG_PACKAGE_kmod-mt76x0u=y
|
||||
CONFIG_PACKAGE_kmod-mt76x2-common=y
|
||||
CONFIG_PACKAGE_kmod-mt76x2u=y
|
||||
CONFIG_PACKAGE_kmod-netlink-diag=y
|
||||
CONFIG_PACKAGE_kmod-nf-nat6=y
|
||||
CONFIG_PACKAGE_kmod-random-core=y
|
||||
CONFIG_PACKAGE_kmod-rt2500-usb=y
|
||||
CONFIG_PACKAGE_kmod-rt2800-lib=y
|
||||
CONFIG_PACKAGE_kmod-rt2800-usb=y
|
||||
CONFIG_PACKAGE_kmod-rt2x00-lib=y
|
||||
CONFIG_PACKAGE_kmod-rt2x00-usb=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192c-common=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192ce=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192cu=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192de=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192se=y
|
||||
CONFIG_PACKAGE_kmod-rtl8821ae=y
|
||||
CONFIG_PACKAGE_kmod-rtl8xxxu=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi-btcoexist=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi-pci=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi-usb=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-sit=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-usb-net=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-hso=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-ipheth=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-kalmia=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-rndis=y
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
CONFIG_PACKAGE_kmod-wireguard=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libbz2=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libevdev=y
|
||||
CONFIG_PACKAGE_libevent2=y
|
||||
CONFIG_PACKAGE_libffi=y
|
||||
CONFIG_PACKAGE_libgcrypt=y
|
||||
CONFIG_PACKAGE_libgd=y
|
||||
CONFIG_PACKAGE_libgdbm=y
|
||||
CONFIG_PACKAGE_libgmp=y
|
||||
CONFIG_PACKAGE_libgnutls=y
|
||||
CONFIG_PACKAGE_libgpg-error=y
|
||||
CONFIG_PACKAGE_libhttp-parser=y
|
||||
CONFIG_PACKAGE_libi2c=y
|
||||
CONFIG_PACKAGE_libiconv-full=y
|
||||
CONFIG_PACKAGE_libimobiledevice=y
|
||||
CONFIG_PACKAGE_libjpeg-turbo=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_liblzma=y
|
||||
CONFIG_PACKAGE_liblzo=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnettle=y
|
||||
CONFIG_PACKAGE_libnghttp2=y
|
||||
CONFIG_PACKAGE_libopenldap=y
|
||||
CONFIG_PACKAGE_libpcap=y
|
||||
CONFIG_PACKAGE_libpcre2=y
|
||||
CONFIG_PACKAGE_libpcsclite=y
|
||||
CONFIG_PACKAGE_libplist=y
|
||||
CONFIG_PACKAGE_libpng=y
|
||||
CONFIG_PACKAGE_libprotobuf-c=y
|
||||
CONFIG_PACKAGE_libpython3=y
|
||||
CONFIG_PACKAGE_libreadline=y
|
||||
CONFIG_PACKAGE_librrd1=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libsasl2=y
|
||||
CONFIG_PACKAGE_libsqlite3=y
|
||||
CONFIG_PACKAGE_libssh=y
|
||||
CONFIG_PACKAGE_libtasn1=y
|
||||
CONFIG_PACKAGE_libtirpc=y
|
||||
CONFIG_PACKAGE_libudev-zero=y
|
||||
CONFIG_PACKAGE_libunbound=y
|
||||
CONFIG_PACKAGE_libunbound_ipset=y
|
||||
CONFIG_PACKAGE_libunbound_libevent=y
|
||||
CONFIG_PACKAGE_libunbound_libpthread=y
|
||||
CONFIG_PACKAGE_libusb-1.0=y
|
||||
CONFIG_PACKAGE_libusbmuxd=y
|
||||
CONFIG_PACKAGE_libuv=y
|
||||
CONFIG_PACKAGE_libwebp=y
|
||||
CONFIG_PACKAGE_libwebsockets-full=y
|
||||
CONFIG_PACKAGE_libxml2=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
CONFIG_PACKAGE_libyaml-cpp=y
|
||||
CONFIG_PACKAGE_lm-sensors-detect=y
|
||||
CONFIG_PACKAGE_lrzsz=y
|
||||
CONFIG_PACKAGE_lsblk=y
|
||||
CONFIG_PACKAGE_lscpu=y
|
||||
CONFIG_PACKAGE_lsof=y
|
||||
CONFIG_PACKAGE_luasocket=y
|
||||
# CONFIG_PACKAGE_luci-app-accesscontrol is not set
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
# CONFIG_PACKAGE_luci-app-arpbind is not set
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
# CONFIG_PACKAGE_luci-app-nlbwmon is not set
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_NaiveProxy=y
|
||||
# CONFIG_PACKAGE_luci-app-ramfree is not set
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_Plugin=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
|
||||
# CONFIG_PACKAGE_luci-app-vlmcsd is not set
|
||||
# CONFIG_PACKAGE_luci-app-vsftpd is not set
|
||||
# CONFIG_PACKAGE_luci-app-wol is not set
|
||||
# CONFIG_PACKAGE_luci-app-zerotier is not set
|
||||
CONFIG_PACKAGE_luci-compat=y
|
||||
CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-ssl-openssl=y
|
||||
CONFIG_PACKAGE_luci-theme-argon_new=y
|
||||
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
|
||||
CONFIG_PACKAGE_msgpack-c=y
|
||||
CONFIG_PACKAGE_mtr=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_naiveproxy=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_npc=y
|
||||
CONFIG_PACKAGE_ocserv=y
|
||||
CONFIG_PACKAGE_odhcp6c=y
|
||||
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
|
||||
CONFIG_PACKAGE_odhcpd-ipv6only=y
|
||||
CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0
|
||||
CONFIG_PACKAGE_openconnect=y
|
||||
CONFIG_PACKAGE_openvpn-easy-rsa=y
|
||||
CONFIG_PACKAGE_openvpn-openssl=y
|
||||
CONFIG_PACKAGE_parted=y
|
||||
CONFIG_PACKAGE_pcscd=y
|
||||
CONFIG_PACKAGE_perl=y
|
||||
CONFIG_PACKAGE_perlbase-base=y
|
||||
CONFIG_PACKAGE_perlbase-bytes=y
|
||||
CONFIG_PACKAGE_perlbase-class=y
|
||||
CONFIG_PACKAGE_perlbase-config=y
|
||||
CONFIG_PACKAGE_perlbase-cwd=y
|
||||
CONFIG_PACKAGE_perlbase-errno=y
|
||||
CONFIG_PACKAGE_perlbase-essential=y
|
||||
CONFIG_PACKAGE_perlbase-fcntl=y
|
||||
CONFIG_PACKAGE_perlbase-file=y
|
||||
CONFIG_PACKAGE_perlbase-filehandle=y
|
||||
CONFIG_PACKAGE_perlbase-i18n=y
|
||||
CONFIG_PACKAGE_perlbase-integer=y
|
||||
CONFIG_PACKAGE_perlbase-io=y
|
||||
CONFIG_PACKAGE_perlbase-list=y
|
||||
CONFIG_PACKAGE_perlbase-locale=y
|
||||
CONFIG_PACKAGE_perlbase-params=y
|
||||
CONFIG_PACKAGE_perlbase-posix=y
|
||||
CONFIG_PACKAGE_perlbase-re=y
|
||||
CONFIG_PACKAGE_perlbase-scalar=y
|
||||
CONFIG_PACKAGE_perlbase-selectsaver=y
|
||||
CONFIG_PACKAGE_perlbase-socket=y
|
||||
CONFIG_PACKAGE_perlbase-symbol=y
|
||||
CONFIG_PACKAGE_perlbase-tie=y
|
||||
CONFIG_PACKAGE_perlbase-unicore=y
|
||||
CONFIG_PACKAGE_perlbase-utf8=y
|
||||
CONFIG_PACKAGE_perlbase-xsloader=y
|
||||
CONFIG_PACKAGE_port-mirroring=y
|
||||
CONFIG_PACKAGE_python3=y
|
||||
CONFIG_PACKAGE_python3-asyncio=y
|
||||
CONFIG_PACKAGE_python3-base=y
|
||||
CONFIG_PACKAGE_python3-cgi=y
|
||||
CONFIG_PACKAGE_python3-cgitb=y
|
||||
CONFIG_PACKAGE_python3-codecs=y
|
||||
CONFIG_PACKAGE_python3-ctypes=y
|
||||
CONFIG_PACKAGE_python3-dbm=y
|
||||
CONFIG_PACKAGE_python3-decimal=y
|
||||
CONFIG_PACKAGE_python3-distutils=y
|
||||
CONFIG_PACKAGE_python3-email=y
|
||||
CONFIG_PACKAGE_python3-gdbm=y
|
||||
CONFIG_PACKAGE_python3-light=y
|
||||
CONFIG_PACKAGE_python3-logging=y
|
||||
CONFIG_PACKAGE_python3-lzma=y
|
||||
CONFIG_PACKAGE_python3-multiprocessing=y
|
||||
CONFIG_PACKAGE_python3-ncurses=y
|
||||
CONFIG_PACKAGE_python3-openssl=y
|
||||
CONFIG_PACKAGE_python3-pkg-resources=y
|
||||
CONFIG_PACKAGE_python3-pydoc=y
|
||||
CONFIG_PACKAGE_python3-readline=y
|
||||
CONFIG_PACKAGE_python3-setuptools=y
|
||||
CONFIG_PACKAGE_python3-sqlite3=y
|
||||
CONFIG_PACKAGE_python3-unittest=y
|
||||
CONFIG_PACKAGE_python3-urllib=y
|
||||
CONFIG_PACKAGE_python3-xml=y
|
||||
CONFIG_PACKAGE_redsocks2=y
|
||||
CONFIG_PACKAGE_rng-tools=y
|
||||
CONFIG_PACKAGE_rrdtool1=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192ce-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192de-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192se-firmware=y
|
||||
CONFIG_PACKAGE_rtl8821ae-firmware=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-config=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
CONFIG_PACKAGE_simple-obfs=y
|
||||
CONFIG_PACKAGE_smartdns=y
|
||||
CONFIG_PACKAGE_smartmontools=y
|
||||
CONFIG_PACKAGE_socat=y
|
||||
CONFIG_PACKAGE_softethervpn5-bridge=y
|
||||
CONFIG_PACKAGE_softethervpn5-client=y
|
||||
CONFIG_PACKAGE_softethervpn5-libs=y
|
||||
CONFIG_PACKAGE_softethervpn5-server=y
|
||||
CONFIG_PACKAGE_sqm-scripts=y
|
||||
CONFIG_PACKAGE_ss=y
|
||||
CONFIG_PACKAGE_ssocks=y
|
||||
CONFIG_PACKAGE_stress=y
|
||||
CONFIG_PACKAGE_strongswan=y
|
||||
CONFIG_PACKAGE_strongswan-charon=y
|
||||
CONFIG_PACKAGE_strongswan-ipsec=y
|
||||
CONFIG_PACKAGE_strongswan-minimal=y
|
||||
CONFIG_PACKAGE_strongswan-mod-aes=y
|
||||
CONFIG_PACKAGE_strongswan-mod-gmp=y
|
||||
CONFIG_PACKAGE_strongswan-mod-hmac=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-libipsec=y
|
||||
CONFIG_PACKAGE_strongswan-mod-kernel-netlink=y
|
||||
CONFIG_PACKAGE_strongswan-mod-nonce=y
|
||||
CONFIG_PACKAGE_strongswan-mod-pubkey=y
|
||||
CONFIG_PACKAGE_strongswan-mod-random=y
|
||||
CONFIG_PACKAGE_strongswan-mod-sha1=y
|
||||
CONFIG_PACKAGE_strongswan-mod-socket-default=y
|
||||
CONFIG_PACKAGE_strongswan-mod-stroke=y
|
||||
CONFIG_PACKAGE_strongswan-mod-updown=y
|
||||
CONFIG_PACKAGE_strongswan-mod-x509=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xauth-generic=y
|
||||
CONFIG_PACKAGE_strongswan-mod-xcbc=y
|
||||
CONFIG_PACKAGE_swconfig=y
|
||||
CONFIG_PACKAGE_tc-mod-iptables=y
|
||||
CONFIG_PACKAGE_tc-tiny=y
|
||||
CONFIG_PACKAGE_tcpdump=y
|
||||
CONFIG_PACKAGE_tmate=y
|
||||
CONFIG_PACKAGE_trojan=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_ttyd=y
|
||||
CONFIG_PACKAGE_uclibcxx=y
|
||||
CONFIG_PACKAGE_udpxy=y
|
||||
CONFIG_PACKAGE_unbound-daemon=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_usb-modeswitch=y
|
||||
CONFIG_PACKAGE_usbids=y
|
||||
CONFIG_PACKAGE_usbmuxd=y
|
||||
CONFIG_PACKAGE_usbutils=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_vnstat=y
|
||||
CONFIG_PACKAGE_vnstati=y
|
||||
CONFIG_PACKAGE_vpnc-scripts=y
|
||||
# CONFIG_PACKAGE_vsftpd-alt is not set
|
||||
CONFIG_PACKAGE_watchcat=y
|
||||
CONFIG_PACKAGE_wireguard-tools=y
|
||||
CONFIG_PACKAGE_wireless-regdb=y
|
||||
CONFIG_PACKAGE_wireless-tools=y
|
||||
CONFIG_PACKAGE_wpad-openssl=y
|
||||
CONFIG_PACKAGE_xray-geodata=y
|
||||
CONFIG_PARTED_READLINE=y
|
||||
CONFIG_PERL_NOCOMMENT=y
|
||||
CONFIG_SOCAT_SSL=y
|
||||
CONFIG_SQLITE3_DYNAMIC_EXTENSIONS=y
|
||||
CONFIG_SQLITE3_FTS3=y
|
||||
CONFIG_SQLITE3_FTS4=y
|
||||
CONFIG_SQLITE3_FTS5=y
|
||||
CONFIG_SQLITE3_JSON1=y
|
||||
CONFIG_SQLITE3_RTREE=y
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE="220"
|
||||
CONFIG_STRONGSWAN_ROUTING_TABLE_PRIO="220"
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=30
|
||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=950
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_WPA_MSG_MIN_PRIORITY=3
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
||||
CONFIG_PACKAGE_etherwake=y
|
||||
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
|
||||
CONFIG_PACKAGE_libminiupnpc=y
|
||||
CONFIG_PACKAGE_libnatpmp=y
|
||||
CONFIG_PACKAGE_nlbwmon=y
|
||||
CONFIG_PACKAGE_vlmcsd=y
|
||||
CONFIG_PACKAGE_wol=y
|
||||
CONFIG_PACKAGE_zerotier=y
|
||||
# CONFIG_ZEROTIER_ENABLE_DEBUG is not set
|
||||
# CONFIG_ZEROTIER_ENABLE_SELFTEST is not set
|
|
@ -0,0 +1,8 @@
|
|||
__
|
||||
___ ___ ___ ___ _ ______/ /_
|
||||
/ _ \/ _ \/ -_) _ \ |/|/ / __/ __/
|
||||
\___/ .__/\__/_//_/__,__/_/ \__/
|
||||
/_/
|
||||
--------------------------------
|
||||
%D by kenzo
|
||||
--------------------------------
|
|
@ -0,0 +1,117 @@
|
|||
|
||||
#!/bin/bash
|
||||
# [CTCGFW]Project-OpenWrt
|
||||
# Use it under GPLv3, please.
|
||||
# --------------------------------------------------------
|
||||
# Script for creating ACL file for each LuCI APP
|
||||
|
||||
error_font="\033[31m[Error]$\033[0m "
|
||||
success_font="\033[32m[Success]\033[0m "
|
||||
info_font="\033[36m[Info]\033[0m "
|
||||
|
||||
function echo_green_bg(){
|
||||
echo -e "\033[42;37m$1\033[0m"
|
||||
}
|
||||
|
||||
function echo_yellow_bg(){
|
||||
echo -e "\033[43;37m$1\033[0m"
|
||||
}
|
||||
|
||||
function echo_red_bg(){
|
||||
echo -e "\033[41;37m$1\033[0m"
|
||||
}
|
||||
|
||||
function clean_outdated_files(){
|
||||
rm -f "create_acl_for_luci.err" "create_acl_for_luci.warn" "create_acl_for_luci.ok"
|
||||
}
|
||||
|
||||
function check_if_acl_exist(){
|
||||
ls "$1"/root/usr/share/rpcd/acl.d/*.json >/dev/null 2>&1 && return 0 || return 1
|
||||
}
|
||||
|
||||
function check_config_files(){
|
||||
[ "$(ls "$1"/root/etc/config/* 2>/dev/null | wc -l)" -ne "1" ] && return 0 || return 1
|
||||
}
|
||||
|
||||
function get_config_name(){
|
||||
ls "$1"/root/etc/config/* 2>/dev/null | awk -F '/' '{print $NF}'
|
||||
}
|
||||
|
||||
function create_acl_file(){
|
||||
mkdir -p "$1"
|
||||
echo -e "{
|
||||
\"$2\": {
|
||||
\"description\": \"Grant UCI access for $2\",
|
||||
\"read\": {
|
||||
\"uci\": [ \"$3\" ]
|
||||
},
|
||||
\"write\": {
|
||||
\"uci\": [ \"$3\" ]
|
||||
}
|
||||
}
|
||||
}" > "$1/$2.json"
|
||||
}
|
||||
|
||||
function auto_create_acl(){
|
||||
luci_app_list="$(find ./ -maxdepth 2 | grep -Eo ".*luci-app-[a-zA-Z0-9_-]+" | sort -s)"
|
||||
|
||||
[ "$(echo -e "${luci_app_list}" | wc -l)" -gt "0" ] && for i in ${luci_app_list}
|
||||
do
|
||||
if check_if_acl_exist "$i"; then
|
||||
echo_yellow_bg "$i: has ACL file already, skipping..." | tee -a create_acl_for_luci.warn
|
||||
elif check_config_files "$i"; then
|
||||
echo_red_bg "$i: has no/multi config file(s), skipping..." | tee -a create_acl_for_luci.err
|
||||
else
|
||||
create_acl_file "$i/root/usr/share/rpcd/acl.d" "${i##*/}" "$(get_config_name "$i")"
|
||||
echo_green_bg "$i: ACL file has been generated." | tee -a create_acl_for_luci.ok
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
while getopts "achml:n:p:" input_arg
|
||||
do
|
||||
case $input_arg in
|
||||
a)
|
||||
auto_create_acl
|
||||
exit
|
||||
;;
|
||||
m)
|
||||
manual_mode=1
|
||||
;;
|
||||
p)
|
||||
acl_path="$OPTARG"
|
||||
;;
|
||||
l)
|
||||
luci_name="$OPTARG"
|
||||
;;
|
||||
n)
|
||||
conf_name="$OPTARG"
|
||||
;;
|
||||
c)
|
||||
clean_outdated_files
|
||||
exit
|
||||
;;
|
||||
h|?|*)
|
||||
echo -e "${info_font}Usage: $0 [-a|-m (-p <path-to-acl>) -l <luci-name> -n <conf-name>|-c]"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "*${manual_mode}*" == "*1*" ] && [ -n "${luci_name}" ] && [ -n "${conf_name}" ]; then
|
||||
acl_path="${acl_path:-root/usr/share/rpcd/acl.d}"
|
||||
if create_acl_file "${acl_path}" "${luci_name}" "${conf_name}"; then
|
||||
echo -e "${success_font}Output file: $(ls "${acl_path}/${luci_name}.json")"
|
||||
echo_green_bg "$(cat "${acl_path}/${luci_name}.json")"
|
||||
echo_green_bg "${luci_name}: ACL file has been generated." >> "create_acl_for_luci.ok"
|
||||
[ -e "create_acl_for_luci.err" ] && sed -i "/${luci_name}/d" "create_acl_for_luci.err"
|
||||
else
|
||||
echo -e "${error_font}Failed to create file ${acl_path}/${luci_name}.json"
|
||||
echo_red_bg "${luci_name}: Failed to create ACL file." >> "create_acl_for_luci.err"
|
||||
fi
|
||||
else
|
||||
echo -e "${info_font}Usage: $0 [-a|-m -p <path-to-acl> -l <luci-name> -n <conf-name>|-c]"
|
||||
exit 2
|
||||
fi
|
||||
rm -rf ./*/.gitignore
|
||||
exit 0
|
|
@ -0,0 +1,182 @@
|
|||
CONFIG_TARGET_x86=y
|
||||
CONFIG_TARGET_x86_64=y
|
||||
CONFIG_TARGET_x86_64_DEVICE_generic=y
|
||||
CONFIG_ATH10K_LEDS=y
|
||||
CONFIG_ATH10K_THERMAL=y
|
||||
CONFIG_ATH9K_SUPPORT_PCOEM=y
|
||||
CONFIG_ATH_USER_REGD=y
|
||||
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||
# CONFIG_GRUB_CONSOLE is not set
|
||||
# CONFIG_GRUB_IMAGES is not set
|
||||
CONFIG_GRUB_TITLE="Build kenzo"
|
||||
CONFIG_HTOP_LMSENSORS=y
|
||||
# CONFIG_JSON_OVERVIEW_IMAGE_INFO is not set
|
||||
CONFIG_LIBCURL_COOKIES=y
|
||||
CONFIG_LIBCURL_CRYPTO_AUTH=y
|
||||
CONFIG_LIBCURL_FILE=y
|
||||
CONFIG_LIBCURL_FTP=y
|
||||
CONFIG_LIBCURL_HTTP=y
|
||||
CONFIG_LIBCURL_LDAP=y
|
||||
CONFIG_LIBCURL_LDAPS=y
|
||||
CONFIG_LIBCURL_NGHTTP2=y
|
||||
CONFIG_LIBCURL_OPENSSL=y
|
||||
CONFIG_LIBCURL_PROXY=y
|
||||
CONFIG_LIBCURL_TFTP=y
|
||||
CONFIG_LIBCURL_THREADED_RESOLVER=y
|
||||
CONFIG_LIBCURL_TLS_SRP=y
|
||||
CONFIG_LIBCURL_UNIX_SOCKETS=y
|
||||
CONFIG_LIBMBEDTLS_HAVE_SSE2=y
|
||||
CONFIG_LIBSODIUM_MINIMAL=y
|
||||
CONFIG_PACKAGE_ATH_DFS=y
|
||||
CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1
|
||||
CONFIG_PACKAGE_ath10k-firmware-qca9888=y
|
||||
CONFIG_PACKAGE_ath10k-firmware-qca988x=y
|
||||
CONFIG_PACKAGE_ath10k-firmware-qca9984=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_bash=y
|
||||
CONFIG_PACKAGE_boost=y
|
||||
CONFIG_PACKAGE_boost-program_options=y
|
||||
CONFIG_PACKAGE_boost-system=y
|
||||
CONFIG_PACKAGE_brcmfmac-firmware-43602a1-pcie=y
|
||||
CONFIG_PACKAGE_ca-certificates=y
|
||||
CONFIG_PACKAGE_cfdisk=y
|
||||
CONFIG_PACKAGE_coreutils=y
|
||||
CONFIG_PACKAGE_coreutils-base64=y
|
||||
CONFIG_PACKAGE_coreutils-nohup=y
|
||||
CONFIG_PACKAGE_curl=y
|
||||
CONFIG_PACKAGE_ddns-scripts=y
|
||||
CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
CONFIG_PACKAGE_ddns-scripts_dnspod=y
|
||||
CONFIG_PACKAGE_dns2socks=y
|
||||
# CONFIG_PACKAGE_fdisk is not set
|
||||
CONFIG_PACKAGE_haproxy=y
|
||||
CONFIG_PACKAGE_htop=y
|
||||
CONFIG_PACKAGE_ip-full=y
|
||||
CONFIG_PACKAGE_iperf3=y
|
||||
CONFIG_PACKAGE_ipset=y
|
||||
CONFIG_PACKAGE_ipt2socks=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_kmod-ath=y
|
||||
CONFIG_PACKAGE_kmod-ath10k=y
|
||||
CONFIG_PACKAGE_kmod-ath5k=y
|
||||
CONFIG_PACKAGE_kmod-ath9k=y
|
||||
CONFIG_PACKAGE_kmod-ath9k-common=y
|
||||
CONFIG_PACKAGE_kmod-ath9k-htc=y
|
||||
CONFIG_PACKAGE_kmod-bonding=y
|
||||
CONFIG_PACKAGE_kmod-ip6tables=y
|
||||
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-extra=y
|
||||
CONFIG_PACKAGE_kmod-ipt-ipopt=y
|
||||
CONFIG_PACKAGE_kmod-ipt-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-nf-ipt6=y
|
||||
CONFIG_PACKAGE_kmod-nf-reject6=y
|
||||
CONFIG_PACKAGE_kmod-thermal=y
|
||||
CONFIG_PACKAGE_libatomic=y
|
||||
CONFIG_PACKAGE_libbpf=y
|
||||
CONFIG_PACKAGE_libcap=y
|
||||
CONFIG_PACKAGE_libcap-bin=y
|
||||
CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh"
|
||||
CONFIG_PACKAGE_libcares=y
|
||||
CONFIG_PACKAGE_libcurl=y
|
||||
CONFIG_PACKAGE_libdb47=y
|
||||
CONFIG_PACKAGE_libelf=y
|
||||
CONFIG_PACKAGE_libev=y
|
||||
CONFIG_PACKAGE_libipset=y
|
||||
CONFIG_PACKAGE_libltdl=y
|
||||
CONFIG_PACKAGE_liblua5.3=y
|
||||
CONFIG_PACKAGE_libmbedtls=y
|
||||
CONFIG_PACKAGE_libmnl=y
|
||||
CONFIG_PACKAGE_libmount=y
|
||||
CONFIG_PACKAGE_libnghttp2=y
|
||||
CONFIG_PACKAGE_libopenldap=y
|
||||
CONFIG_PACKAGE_libpcre=y
|
||||
CONFIG_PACKAGE_libruby=y
|
||||
CONFIG_PACKAGE_libsasl2=y
|
||||
CONFIG_PACKAGE_libsodium=y
|
||||
CONFIG_PACKAGE_libstdcpp=y
|
||||
CONFIG_PACKAGE_libudns=y
|
||||
CONFIG_PACKAGE_libyaml=y
|
||||
# CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary is not set
|
||||
CONFIG_PACKAGE_luci-app-argon-config=y
|
||||
CONFIG_PACKAGE_luci-app-autoreboot=y
|
||||
CONFIG_PACKAGE_luci-app-ddns=y
|
||||
CONFIG_PACKAGE_luci-app-mwan3=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_luci-app-passwall=y
|
||||
# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_ChinaDNS_NG is not set
|
||||
CONFIG_PACKAGE_luci-app-ssr-plus=y
|
||||
CONFIG_PACKAGE_luci-app-syncdial=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
CONFIG_PACKAGE_luci-i18n-argon-config-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-autoreboot-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-bonding-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-bonding-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-ddns-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-passwall-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-ssr-plus-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-en=y
|
||||
CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y
|
||||
CONFIG_PACKAGE_luci-proto-bonding=y
|
||||
CONFIG_PACKAGE_luci-theme-argon_new=y
|
||||
CONFIG_PACKAGE_luci-theme-argonv3=y
|
||||
CONFIG_PACKAGE_luci-theme-atmaterial_new=y
|
||||
CONFIG_PACKAGE_microsocks=y
|
||||
CONFIG_PACKAGE_miniupnpd=y
|
||||
CONFIG_PACKAGE_mwan3=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_openssh-sftp-server=y
|
||||
CONFIG_PACKAGE_openssl-util=y
|
||||
CONFIG_PACKAGE_proto-bonding=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_ruby=y
|
||||
CONFIG_PACKAGE_ruby-bigdecimal=y
|
||||
CONFIG_PACKAGE_ruby-date=y
|
||||
CONFIG_PACKAGE_ruby-dbm=y
|
||||
CONFIG_PACKAGE_ruby-digest=y
|
||||
CONFIG_PACKAGE_ruby-enc=y
|
||||
CONFIG_PACKAGE_ruby-forwardable=y
|
||||
CONFIG_PACKAGE_ruby-pstore=y
|
||||
CONFIG_PACKAGE_ruby-psych=y
|
||||
CONFIG_PACKAGE_ruby-stringio=y
|
||||
CONFIG_PACKAGE_ruby-strscan=y
|
||||
CONFIG_PACKAGE_ruby-yaml=y
|
||||
CONFIG_PACKAGE_samba36-server=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-config=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-server=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-check=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y
|
||||
CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir=y
|
||||
CONFIG_PACKAGE_simple-obfs-client=y
|
||||
CONFIG_PACKAGE_tcping=y
|
||||
CONFIG_PACKAGE_trojan-go=y
|
||||
CONFIG_PACKAGE_trojan-plus=y
|
||||
CONFIG_PACKAGE_unzip=y
|
||||
CONFIG_PACKAGE_v2ray-core=y
|
||||
CONFIG_PACKAGE_v2ray-plugin=y
|
||||
CONFIG_PACKAGE_wget-ssl=y
|
||||
CONFIG_PACKAGE_wpad=y
|
||||
CONFIG_PACKAGE_wsdd2=y
|
||||
CONFIG_PACKAGE_xray-core=y
|
||||
CONFIG_PACKAGE_xray-geodata=y
|
||||
CONFIG_PACKAGE_zlib=y
|
||||
CONFIG_PCRE_JIT_ENABLED=y
|
||||
CONFIG_TARGET_KERNEL_PARTSIZE=32
|
||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||
CONFIG_TARGET_ROOTFS_PARTSIZE=360
|
||||
# CONFIG_TARGET_ROOTFS_TARGZ is not set
|
||||
CONFIG_V2RAY_CORE_COMPRESS_UPX=y
|
||||
# CONFIG_VMDK_IMAGES is not set
|
||||
CONFIG_WPA_MSG_MIN_PRIORITY=3
|
||||
CONFIG_XRAY_CORE_COMPRESS_UPX=y
|
||||
CONFIG_boost-compile-visibility-hidden=y
|
||||
CONFIG_boost-runtime-shared=y
|
||||
CONFIG_boost-static-and-shared-libs=y
|
||||
CONFIG_boost-variant-release=y
|
|
@ -0,0 +1,68 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci set luci.main.lang=zh_cn
|
||||
uci commit luci
|
||||
|
||||
uci set system.@system[0].timezone=CST-8
|
||||
uci set system.@system[0].zonename=Asia/Shanghai
|
||||
uci commit system
|
||||
|
||||
uci set fstab.@global[0].anon_mount=1
|
||||
uci commit fstab
|
||||
|
||||
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/mwan.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/upnp.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/ddns.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/minidlna.htm
|
||||
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/aria2.lua
|
||||
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/aria2/overview_status.htm
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/hd_idle.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/samba.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/minidlna.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/transmission.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/mjpg-streamer.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/p910nd.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/usb_printer.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua
|
||||
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm
|
||||
|
||||
ln -sf /sbin/ip /usr/bin/ip
|
||||
|
||||
sed -i 's#http://downloads.openwrt.org#https://mirrors.cloud.tencent.com/lede#g' /etc/opkg/distfeeds.conf
|
||||
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
|
||||
|
||||
sed -i "s/# //g" /etc/opkg/distfeeds.conf
|
||||
sed -i '/openwrt_luci/ { s/snapshots/releases\/18.06.8/g; }' /etc/opkg/distfeeds.conf
|
||||
|
||||
sed -i '/REDIRECT --to-ports 53/d' /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
|
||||
sed -i '/option disabled/d' /etc/config/wireless
|
||||
sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh
|
||||
|
||||
sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release
|
||||
echo "DISTRIB_REVISION='small'" >> /etc/openwrt_release
|
||||
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
|
||||
echo "DISTRIB_DESCRIPTION='Openwrt '" >> /etc/openwrt_release
|
||||
|
||||
sed -i 's/LuCI Master/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI openwrt-18.06 branch/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI 17.01 Lienol/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI openwrt-21.02 branch/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
|
||||
echo 'luciversion = "Sept"' >> /usr/lib/lua/luci/version.lua
|
||||
|
||||
sed -i '/log-facility/d' /etc/dnsmasq.conf
|
||||
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf
|
||||
|
||||
sed -i 's/cbi.submit\"] = true/cbi.submit\"] = \"1\"/g' /usr/lib/lua/luci/dispatcher.lua
|
||||
|
||||
echo 'hsts=0' > /root/.wgetrc
|
||||
|
||||
rm -rf /tmp/luci-modulecache/
|
||||
rm -f /tmp/luci-indexcache
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,812 @@
|
|||
<%#
|
||||
Copyright 2008 Steven Barth <steven@midlink.org>
|
||||
Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
|
||||
Licensed to the public under the Apache License 2.0.
|
||||
-%>
|
||||
|
||||
<%
|
||||
local fs = require "nixio.fs"
|
||||
local util = require "luci.util"
|
||||
local stat = require "luci.tools.status"
|
||||
local ver = require "luci.version"
|
||||
|
||||
local has_ipv6 = fs.access("/usr/sbin/ip6tables")
|
||||
local has_dhcp = fs.access("/etc/config/dhcp")
|
||||
local has_wifi = ((fs.stat("/etc/config/wireless", "size") or 0) > 0)
|
||||
|
||||
local sysinfo = luci.util.ubus("system", "info") or { }
|
||||
local boardinfo = luci.util.ubus("system", "board") or { }
|
||||
local unameinfo = nixio.uname() or { }
|
||||
|
||||
local meminfo = sysinfo.memory or {
|
||||
total = 0,
|
||||
free = 0,
|
||||
buffered = 0,
|
||||
shared = 0
|
||||
}
|
||||
|
||||
local mem_cached = luci.sys.exec("sed -e '/^Cached: /!d; s#Cached: *##; s# kB##g' /proc/meminfo")
|
||||
|
||||
local swapinfo = sysinfo.swap or {
|
||||
total = 0,
|
||||
free = 0
|
||||
}
|
||||
|
||||
local has_dsl = fs.access("/etc/init.d/dsl_control")
|
||||
|
||||
if luci.http.formvalue("status") == "1" then
|
||||
local ntm = require "luci.model.network".init()
|
||||
local wan = ntm:get_wannet()
|
||||
local wan6 = ntm:get_wan6net()
|
||||
|
||||
local conn_count = tonumber(
|
||||
fs.readfile("/proc/sys/net/netfilter/nf_conntrack_count") or "") or 0
|
||||
|
||||
local conn_max = tonumber(luci.sys.exec(
|
||||
"sysctl -n -e net.nf_conntrack_max net.ipv4.netfilter.ip_conntrack_max"
|
||||
):match("%d+")) or 4096
|
||||
|
||||
local user_info = luci.sys.exec("cat /proc/net/arp | grep 'br-lan' | grep '0x2' | wc -l")
|
||||
|
||||
local cpu_usage = luci.sys.exec("top -n1 | awk '/^CPU/ {printf(\"%d%%\", 100 - $8)}'") or "6%"
|
||||
|
||||
local rv = {
|
||||
cpuusage = cpu_usage,
|
||||
userinfo = user_info,
|
||||
uptime = sysinfo.uptime or 0,
|
||||
localtime = os.date("%Y-%m-%d") .. " " .. os.date("%X") .. " " .. translate(os.date("%A")),
|
||||
loadavg = sysinfo.load or { 0, 0, 0 },
|
||||
memory = meminfo,
|
||||
memcached = mem_cached,
|
||||
swap = swapinfo,
|
||||
connmax = conn_max,
|
||||
conncount = conn_count,
|
||||
leases = stat.dhcp_leases(),
|
||||
leases6 = stat.dhcp6_leases(),
|
||||
wifinets = stat.wifi_networks()
|
||||
}
|
||||
|
||||
if wan then
|
||||
rv.wan = {
|
||||
ipaddr = wan:ipaddr(),
|
||||
gwaddr = wan:gwaddr(),
|
||||
netmask = wan:netmask(),
|
||||
dns = wan:dnsaddrs(),
|
||||
expires = wan:expires(),
|
||||
uptime = wan:uptime(),
|
||||
proto = wan:proto(),
|
||||
ifname = wan:ifname(),
|
||||
link = wan:adminlink()
|
||||
}
|
||||
end
|
||||
|
||||
if wan6 then
|
||||
rv.wan6 = {
|
||||
ip6addr = wan6:ip6addr(),
|
||||
gw6addr = wan6:gw6addr(),
|
||||
dns = wan6:dns6addrs(),
|
||||
ip6prefix = wan6:ip6prefix(),
|
||||
uptime = wan6:uptime(),
|
||||
proto = wan6:proto(),
|
||||
ifname = wan6:ifname(),
|
||||
link = wan6:adminlink()
|
||||
}
|
||||
end
|
||||
|
||||
if has_dsl then
|
||||
local dsl_stat = luci.sys.exec("/etc/init.d/dsl_control lucistat")
|
||||
local dsl_func = loadstring(dsl_stat)
|
||||
if dsl_func then
|
||||
rv.dsl = dsl_func()
|
||||
end
|
||||
end
|
||||
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(rv)
|
||||
|
||||
return
|
||||
elseif luci.http.formvalue("hosts") == "1" then
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(luci.sys.net.host_hints())
|
||||
|
||||
return
|
||||
end
|
||||
-%>
|
||||
|
||||
<%+header%>
|
||||
|
||||
<script type="text/javascript" src="<%=resource%>/cbi.js"></script>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
function progressbar(v, m)
|
||||
{
|
||||
var vn = parseInt(v) || 0;
|
||||
var mn = parseInt(m) || 100;
|
||||
var pc = Math.floor((100 / mn) * vn);
|
||||
|
||||
return String.format(
|
||||
'<div style="width:200px; position:relative; border:1px solid #999999">' +
|
||||
'<div style="background-color:#CCCCCC; width:%d%%; height:15px">' +
|
||||
'<div style="position:absolute; left:0; top:0; text-align:center; width:100%%; color:#000000">' +
|
||||
'<small>%s / %s (%d%%)</small>' +
|
||||
'</div>' +
|
||||
'</div>' +
|
||||
'</div>', pc, v, m, pc
|
||||
);
|
||||
}
|
||||
|
||||
function wifirate(bss, rx) {
|
||||
var p = rx ? 'rx_' : 'tx_',
|
||||
s = '%.1f <%:Mbit/s%>, %d<%:MHz%>'
|
||||
.format(bss[p+'rate'] / 1000, bss[p+'mhz']),
|
||||
ht = bss[p+'ht'], vht = bss[p+'vht'],
|
||||
mhz = bss[p+'mhz'], nss = bss[p+'nss'],
|
||||
mcs = bss[p+'mcs'], sgi = bss[p+'short_gi'];
|
||||
|
||||
if (ht || vht) {
|
||||
if (vht) s += ', VHT-MCS %d'.format(mcs);
|
||||
if (nss) s += ', VHT-NSS %d'.format(nss);
|
||||
if (ht) s += ', MCS %s'.format(mcs);
|
||||
if (sgi) s += ', <%:Short GI%>';
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
function duid2mac(duid) {
|
||||
// DUID-LLT / Ethernet
|
||||
if (duid.length === 28 && duid.substr(0, 8) === '00010001')
|
||||
return duid.substr(16).replace(/(..)(?=..)/g, '$1:').toUpperCase();
|
||||
|
||||
// DUID-LL / Ethernet
|
||||
if (duid.length === 20 && duid.substr(0, 8) === '00030001')
|
||||
return duid.substr(8).replace(/(..)(?=..)/g, '$1:').toUpperCase();
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
var npoll = 1;
|
||||
var hosts = <%=luci.http.write_json(luci.sys.net.host_hints())%>;
|
||||
|
||||
function updateHosts() {
|
||||
XHR.get('<%=REQUEST_URI%>', { hosts: 1 }, function(x, data) {
|
||||
hosts = data;
|
||||
});
|
||||
}
|
||||
|
||||
XHR.poll(5, '<%=REQUEST_URI%>', { status: 1 },
|
||||
function(x, info)
|
||||
{
|
||||
if (!(npoll++ % 5))
|
||||
updateHosts();
|
||||
|
||||
var si = document.getElementById('wan4_i');
|
||||
var ss = document.getElementById('wan4_s');
|
||||
var ifc = info.wan;
|
||||
|
||||
if (ifc && ifc.ifname && ifc.proto != 'none')
|
||||
{
|
||||
var s = String.format(
|
||||
'<strong><%:Type%>: </strong>%s<br />' +
|
||||
'<strong><%:Address%>: </strong>%s<br />' +
|
||||
'<strong><%:Netmask%>: </strong>%s<br />' +
|
||||
'<strong><%:Gateway%>: </strong>%s<br />',
|
||||
ifc.proto,
|
||||
(ifc.ipaddr) ? ifc.ipaddr : '0.0.0.0',
|
||||
(ifc.netmask && ifc.netmask != ifc.ipaddr) ? ifc.netmask : '255.255.255.255',
|
||||
(ifc.gwaddr) ? ifc.gwaddr : '0.0.0.0'
|
||||
);
|
||||
|
||||
for (var i = 0; i < ifc.dns.length; i++)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:DNS%> %d: </strong>%s<br />',
|
||||
i + 1, ifc.dns[i]
|
||||
);
|
||||
}
|
||||
|
||||
if (ifc.expires > -1)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Expires%>: </strong>%t<br />',
|
||||
ifc.expires
|
||||
);
|
||||
}
|
||||
|
||||
if (ifc.uptime > 0)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Connected%>: </strong>%t<br />',
|
||||
ifc.uptime
|
||||
);
|
||||
}
|
||||
|
||||
ss.innerHTML = String.format('<small>%s</small>', s);
|
||||
si.innerHTML = String.format(
|
||||
'<img src="<%=resource%>/icons/ethernet.png" />' +
|
||||
'<br /><small><a href="%s">%s</a></small>',
|
||||
ifc.link, ifc.ifname
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
|
||||
ss.innerHTML = '<em><%:Not connected%></em>';
|
||||
}
|
||||
|
||||
<% if has_ipv6 then %>
|
||||
var si6 = document.getElementById('wan6_i');
|
||||
var ss6 = document.getElementById('wan6_s');
|
||||
var ifc6 = info.wan6;
|
||||
|
||||
if (ifc6 && ifc6.ifname && ifc6.proto != 'none')
|
||||
{
|
||||
var s = String.format(
|
||||
'<strong><%:Type%>: </strong>%s%s<br />',
|
||||
ifc6.proto, (ifc6.ip6prefix) ? '-pd' : ''
|
||||
);
|
||||
|
||||
if (!ifc6.ip6prefix)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Address%>: </strong>%s<br />',
|
||||
(ifc6.ip6addr) ? ifc6.ip6addr : '::'
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Prefix Delegated%>: </strong>%s<br />',
|
||||
ifc6.ip6prefix
|
||||
);
|
||||
if (ifc6.ip6addr)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Address%>: </strong>%s<br />',
|
||||
ifc6.ip6addr
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
s += String.format(
|
||||
'<strong><%:Gateway%>: </strong>%s<br />',
|
||||
(ifc6.gw6addr) ? ifc6.gw6addr : '::'
|
||||
);
|
||||
|
||||
for (var i = 0; i < ifc6.dns.length; i++)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:DNS%> %d: </strong>%s<br />',
|
||||
i + 1, ifc6.dns[i]
|
||||
);
|
||||
}
|
||||
|
||||
if (ifc6.uptime > 0)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:Connected%>: </strong>%t<br />',
|
||||
ifc6.uptime
|
||||
);
|
||||
}
|
||||
|
||||
ss6.innerHTML = String.format('<small>%s</small>', s);
|
||||
si6.innerHTML = String.format(
|
||||
'<img src="<%=resource%>/icons/ethernet.png" />' +
|
||||
'<br /><small><a href="%s">%s</a></small>',
|
||||
ifc6.link, ifc6.ifname
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
si6.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
|
||||
ss6.innerHTML = '<em><%:Not connected%></em>';
|
||||
}
|
||||
<% end %>
|
||||
|
||||
<% if has_dsl then %>
|
||||
var dsl_i = document.getElementById('dsl_i');
|
||||
var dsl_s = document.getElementById('dsl_s');
|
||||
|
||||
var s = String.format(
|
||||
'<strong><%:Status%>: </strong>%s<br />' +
|
||||
'<strong><%:Line State%>: </strong>%s [0x%x]<br />' +
|
||||
'<strong><%:Line Mode%>: </strong>%s<br />' +
|
||||
'<strong><%:Annex%>: </strong>%s<br />' +
|
||||
'<strong><%:Profile%>: </strong>%s<br />' +
|
||||
'<strong><%:Data Rate%>: </strong>%s/s / %s/s<br />' +
|
||||
'<strong><%:Max. Attainable Data Rate (ATTNDR)%>: </strong>%s/s / %s/s<br />' +
|
||||
'<strong><%:Latency%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Line Attenuation (LATN)%>: </strong>%s dB / %s dB<br />' +
|
||||
'<strong><%:Signal Attenuation (SATN)%>: </strong>%s dB / %s dB<br />' +
|
||||
'<strong><%:Noise Margin (SNR)%>: </strong>%s dB / %s dB<br />' +
|
||||
'<strong><%:Aggregate Transmit Power(ACTATP)%>: </strong>%s dB / %s dB<br />' +
|
||||
'<strong><%:Forward Error Correction Seconds (FECS)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Errored seconds (ES)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Severely Errored Seconds (SES)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Loss of Signal Seconds (LOSS)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Unavailable Seconds (UAS)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Header Error Code Errors (HEC)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Non Pre-emtive CRC errors (CRC_P)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Pre-emtive CRC errors (CRCP_P)%>: </strong>%s / %s<br />' +
|
||||
'<strong><%:Line Uptime%>: </strong>%s<br />' +
|
||||
'<strong><%:ATU-C System Vendor ID%>: </strong>%s<br />' +
|
||||
'<strong><%:Power Management Mode%>: </strong>%s<br />',
|
||||
info.dsl.line_state, info.dsl.line_state_detail,
|
||||
info.dsl.line_state_num,
|
||||
info.dsl.line_mode_s,
|
||||
info.dsl.annex_s,
|
||||
info.dsl.profile_s,
|
||||
info.dsl.data_rate_down_s, info.dsl.data_rate_up_s,
|
||||
info.dsl.max_data_rate_down_s, info.dsl.max_data_rate_up_s,
|
||||
info.dsl.latency_num_down, info.dsl.latency_num_up,
|
||||
info.dsl.line_attenuation_down, info.dsl.line_attenuation_up,
|
||||
info.dsl.signal_attenuation_down, info.dsl.signal_attenuation_up,
|
||||
info.dsl.noise_margin_down, info.dsl.noise_margin_up,
|
||||
info.dsl.actatp_down, info.dsl.actatp_up,
|
||||
info.dsl.errors_fec_near, info.dsl.errors_fec_far,
|
||||
info.dsl.errors_es_near, info.dsl.errors_es_far,
|
||||
info.dsl.errors_ses_near, info.dsl.errors_ses_far,
|
||||
info.dsl.errors_loss_near, info.dsl.errors_loss_far,
|
||||
info.dsl.errors_uas_near, info.dsl.errors_uas_far,
|
||||
info.dsl.errors_hec_near, info.dsl.errors_hec_far,
|
||||
info.dsl.errors_crc_p_near, info.dsl.errors_crc_p_far,
|
||||
info.dsl.errors_crcp_p_near, info.dsl.errors_crcp_p_far,
|
||||
info.dsl.line_uptime_s,
|
||||
info.dsl.atuc_vendor_id,
|
||||
info.dsl.power_mode_s
|
||||
);
|
||||
|
||||
dsl_s.innerHTML = String.format('<small>%s</small>', s);
|
||||
dsl_i.innerHTML = String.format(
|
||||
'<img src="<%=resource%>/icons/ethernet.png" />' +
|
||||
'<br /><small>DSL</small>'
|
||||
);
|
||||
<% end %>
|
||||
|
||||
<% if has_dhcp then %>
|
||||
var ls = document.getElementById('lease_status_table');
|
||||
if (ls)
|
||||
{
|
||||
/* clear all rows */
|
||||
while( ls.rows.length > 1 )
|
||||
ls.rows[0].parentNode.deleteRow(1);
|
||||
|
||||
for( var i = 0; i < info.leases.length; i++ )
|
||||
{
|
||||
var timestr;
|
||||
|
||||
if (info.leases[i].expires === false)
|
||||
timestr = '<em><%:unlimited%></em>';
|
||||
else if (info.leases[i].expires <= 0)
|
||||
timestr = '<em><%:expired%></em>';
|
||||
else
|
||||
timestr = String.format('%t', info.leases[i].expires);
|
||||
|
||||
var tr = ls.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1);
|
||||
|
||||
tr.insertCell(-1).innerHTML = info.leases[i].hostname ? info.leases[i].hostname : '?';
|
||||
tr.insertCell(-1).innerHTML = info.leases[i].ipaddr;
|
||||
tr.insertCell(-1).innerHTML = info.leases[i].macaddr;
|
||||
tr.insertCell(-1).innerHTML = timestr;
|
||||
}
|
||||
|
||||
if( ls.rows.length == 1 )
|
||||
{
|
||||
var tr = ls.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row';
|
||||
|
||||
var td = tr.insertCell(-1);
|
||||
td.colSpan = 4;
|
||||
td.innerHTML = '<em><br /><%:There are no active leases.%></em>';
|
||||
}
|
||||
}
|
||||
|
||||
var ls6 = document.getElementById('lease6_status_table');
|
||||
if (ls6 && info.leases6)
|
||||
{
|
||||
ls6.parentNode.style.display = 'block';
|
||||
|
||||
/* clear all rows */
|
||||
while( ls6.rows.length > 1 )
|
||||
ls6.rows[0].parentNode.deleteRow(1);
|
||||
|
||||
for( var i = 0; i < info.leases6.length; i++ )
|
||||
{
|
||||
var timestr;
|
||||
|
||||
if (info.leases6[i].expires === false)
|
||||
timestr = '<em><%:unlimited%></em>';
|
||||
else if (info.leases6[i].expires <= 0)
|
||||
timestr = '<em><%:expired%></em>';
|
||||
else
|
||||
timestr = String.format('%t', info.leases6[i].expires);
|
||||
|
||||
var tr = ls6.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1);
|
||||
|
||||
var host = hosts[duid2mac(info.leases6[i].duid)];
|
||||
if (!info.leases6[i].hostname)
|
||||
tr.insertCell(-1).innerHTML =
|
||||
(host && (host.name || host.ipv4 || host.ipv6))
|
||||
? '<div style="max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap">? (%h)</div>'.format(host.name || host.ipv4 || host.ipv6)
|
||||
: '?';
|
||||
else
|
||||
tr.insertCell(-1).innerHTML =
|
||||
(host && host.name && info.leases6[i].hostname != host.name)
|
||||
? '<div style="max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap">%h (%h)</div>'.format(info.leases6[i].hostname, host.name)
|
||||
: info.leases6[i].hostname;
|
||||
|
||||
tr.insertCell(-1).innerHTML = info.leases6[i].ip6addr;
|
||||
tr.insertCell(-1).innerHTML = info.leases6[i].duid;
|
||||
tr.insertCell(-1).innerHTML = timestr;
|
||||
}
|
||||
|
||||
if( ls6.rows.length == 1 )
|
||||
{
|
||||
var tr = ls6.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row';
|
||||
|
||||
var td = tr.insertCell(-1);
|
||||
td.colSpan = 4;
|
||||
td.innerHTML = '<em><br /><%:There are no active leases.%></em>';
|
||||
}
|
||||
}
|
||||
<% end %>
|
||||
|
||||
<% if has_wifi then %>
|
||||
var assoclist = [ ];
|
||||
|
||||
var ws = document.getElementById('wifi_status_table');
|
||||
if (ws)
|
||||
{
|
||||
var wsbody = ws.rows[0].parentNode;
|
||||
while (ws.rows.length > 0)
|
||||
wsbody.deleteRow(0);
|
||||
|
||||
for (var didx = 0; didx < info.wifinets.length; didx++)
|
||||
{
|
||||
var dev = info.wifinets[didx];
|
||||
|
||||
var tr = wsbody.insertRow(-1);
|
||||
var td;
|
||||
|
||||
td = tr.insertCell(-1);
|
||||
td.width = "33%";
|
||||
td.innerHTML = dev.name;
|
||||
td.style.verticalAlign = "top";
|
||||
|
||||
td = tr.insertCell(-1);
|
||||
|
||||
var s = '';
|
||||
|
||||
for (var nidx = 0; nidx < dev.networks.length; nidx++)
|
||||
{
|
||||
var net = dev.networks[nidx];
|
||||
var is_assoc = (net.bssid != '00:00:00:00:00:00' && net.channel && !net.disabled);
|
||||
|
||||
var icon;
|
||||
if (!is_assoc)
|
||||
icon = "<%=resource%>/icons/signal-none.png";
|
||||
else if (net.quality == 0)
|
||||
icon = "<%=resource%>/icons/signal-0.png";
|
||||
else if (net.quality < 25)
|
||||
icon = "<%=resource%>/icons/signal-0-25.png";
|
||||
else if (net.quality < 50)
|
||||
icon = "<%=resource%>/icons/signal-25-50.png";
|
||||
else if (net.quality < 75)
|
||||
icon = "<%=resource%>/icons/signal-50-75.png";
|
||||
else
|
||||
icon = "<%=resource%>/icons/signal-75-100.png";
|
||||
|
||||
s += String.format(
|
||||
'<table><tr><td style="text-align:center; width:32px; padding:3px">' +
|
||||
'<img src="%s" title="<%:Signal%>: %d dBm / <%:Noise%>: %d dBm" />' +
|
||||
'<br /><small>%d%%</small>' +
|
||||
'</td><td style="text-align:left; padding:3px"><small>' +
|
||||
'<strong><%:SSID%>:</strong> <a href="%s">%h</a><br />' +
|
||||
'<strong><%:Mode%>:</strong> %s<br />' +
|
||||
'<strong><%:Channel%>:</strong> %d (%.3f <%:GHz%>)<br />' +
|
||||
'<strong><%:Bitrate%>:</strong> %s <%:Mbit/s%><br />',
|
||||
icon, net.signal, net.noise,
|
||||
net.quality,
|
||||
net.link, net.ssid || '?',
|
||||
net.mode,
|
||||
net.channel, net.frequency,
|
||||
net.bitrate || '?'
|
||||
);
|
||||
|
||||
if (is_assoc)
|
||||
{
|
||||
s += String.format(
|
||||
'<strong><%:BSSID%>:</strong> %s<br />' +
|
||||
'<strong><%:Encryption%>:</strong> %s',
|
||||
net.bssid || '?',
|
||||
net.encryption
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
s += '<em><%:Wireless is disabled or not associated%></em>';
|
||||
}
|
||||
|
||||
s += '</small></td></tr></table>';
|
||||
|
||||
for (var bssid in net.assoclist)
|
||||
{
|
||||
var bss = net.assoclist[bssid];
|
||||
|
||||
bss.bssid = bssid;
|
||||
bss.link = net.link;
|
||||
bss.name = net.name;
|
||||
bss.ifname = net.ifname;
|
||||
bss.radio = dev.name;
|
||||
|
||||
assoclist.push(bss);
|
||||
}
|
||||
}
|
||||
|
||||
if (!s)
|
||||
s = '<em><%:No information available%></em>';
|
||||
|
||||
td.innerHTML = s;
|
||||
}
|
||||
}
|
||||
|
||||
var ac = document.getElementById('wifi_assoc_table');
|
||||
if (ac)
|
||||
{
|
||||
/* clear all rows */
|
||||
while( ac.rows.length > 1 )
|
||||
ac.rows[0].parentNode.deleteRow(1);
|
||||
|
||||
assoclist.sort(function(a, b) {
|
||||
return (a.name == b.name)
|
||||
? (a.bssid < b.bssid)
|
||||
: (a.name > b.name )
|
||||
;
|
||||
});
|
||||
|
||||
for( var i = 0; i < assoclist.length; i++ )
|
||||
{
|
||||
var tr = ac.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row cbi-rowstyle-' + (1 + (i % 2));
|
||||
|
||||
var icon;
|
||||
var q = (-1 * (assoclist[i].noise - assoclist[i].signal)) / 5;
|
||||
if (q < 1)
|
||||
icon = "<%=resource%>/icons/signal-0.png";
|
||||
else if (q < 2)
|
||||
icon = "<%=resource%>/icons/signal-0-25.png";
|
||||
else if (q < 3)
|
||||
icon = "<%=resource%>/icons/signal-25-50.png";
|
||||
else if (q < 4)
|
||||
icon = "<%=resource%>/icons/signal-50-75.png";
|
||||
else
|
||||
icon = "<%=resource%>/icons/signal-75-100.png";
|
||||
|
||||
tr.insertCell(-1).innerHTML = String.format(
|
||||
'<span class="ifacebadge" title="%q"><img src="<%=resource%>/icons/wifi.png" /> %h</span>',
|
||||
assoclist[i].radio, assoclist[i].ifname
|
||||
);
|
||||
|
||||
tr.insertCell(-1).innerHTML = String.format(
|
||||
'<a href="%s">%s</a>',
|
||||
assoclist[i].link,
|
||||
'%h'.format(assoclist[i].name).nobr()
|
||||
);
|
||||
|
||||
tr.insertCell(-1).innerHTML = assoclist[i].bssid;
|
||||
|
||||
var host = hosts[assoclist[i].bssid];
|
||||
if (host)
|
||||
tr.insertCell(-1).innerHTML = String.format(
|
||||
'<div style="max-width:200px;overflow:hidden;text-overflow:ellipsis">%s</div>',
|
||||
((host.name && (host.ipv4 || host.ipv6))
|
||||
? '%h (%s)'.format(host.name, host.ipv4 || host.ipv6)
|
||||
: '%h'.format(host.name || host.ipv4 || host.ipv6)).nobr()
|
||||
);
|
||||
else
|
||||
tr.insertCell(-1).innerHTML = '?';
|
||||
|
||||
tr.insertCell(-1).innerHTML = String.format(
|
||||
'<span class="ifacebadge" title="<%:Signal%>: %d <%:dBm%> / <%:Noise%>: %d <%:dBm%> / <%:SNR%>: %d"><img src="%s" /> %d / %d <%:dBm%></span>',
|
||||
assoclist[i].signal, assoclist[i].noise, assoclist[i].signal - assoclist[i].noise,
|
||||
icon,
|
||||
assoclist[i].signal, assoclist[i].noise
|
||||
);
|
||||
|
||||
tr.insertCell(-1).innerHTML = wifirate(assoclist[i], true).nobr() + '<br />' + wifirate(assoclist[i], false).nobr();
|
||||
}
|
||||
|
||||
if (ac.rows.length == 1)
|
||||
{
|
||||
var tr = ac.rows[0].parentNode.insertRow(-1);
|
||||
tr.className = 'cbi-section-table-row';
|
||||
|
||||
var td = tr.insertCell(-1);
|
||||
td.colSpan = 7;
|
||||
td.innerHTML = '<br /><em><%:No information available%></em>';
|
||||
}
|
||||
}
|
||||
<% end %>
|
||||
|
||||
var e;
|
||||
|
||||
if (e = document.getElementById('localtime'))
|
||||
e.innerHTML = info.localtime;
|
||||
|
||||
if (e = document.getElementById('uptime'))
|
||||
e.innerHTML = String.format('%t', info.uptime);
|
||||
|
||||
if (e = document.getElementById('userinfo'))
|
||||
e.innerHTML = info.userinfo;
|
||||
|
||||
if (e = document.getElementById('cpuusage'))
|
||||
e.innerHTML = info.cpuusage;
|
||||
|
||||
if (e = document.getElementById('loadavg'))
|
||||
e.innerHTML = String.format(
|
||||
'%.02f, %.02f, %.02f',
|
||||
info.loadavg[0] / 65535.0,
|
||||
info.loadavg[1] / 65535.0,
|
||||
info.loadavg[2] / 65535.0
|
||||
);
|
||||
|
||||
if (e = document.getElementById('memtotal'))
|
||||
e.innerHTML = progressbar(
|
||||
Math.floor(((info.memory.free + info.memory.buffered) / 1048576) + (info.memcached / 1024)) + " <%:MB%>",
|
||||
Math.floor(info.memory.total / 1048576) + " <%:MB%>"
|
||||
);
|
||||
|
||||
if (e = document.getElementById('membuff'))
|
||||
e.innerHTML = progressbar(
|
||||
Math.floor(info.memory.buffered / 1048576) + " <%:MB%>",
|
||||
Math.floor(info.memory.total / 1048576) + " <%:MB%>"
|
||||
);
|
||||
|
||||
if (e = document.getElementById('swaptotal'))
|
||||
e.innerHTML = progressbar(
|
||||
Math.floor(info.swap.free / 1048576) + " <%:MB%>",
|
||||
Math.floor(info.swap.total / 1048576) + " <%:MB%>"
|
||||
);
|
||||
|
||||
if (e = document.getElementById('swapfree'))
|
||||
e.innerHTML = progressbar(
|
||||
Math.floor(info.swap.free / 1048576) + " <%:MB%>",
|
||||
Math.floor(info.swap.total / 1048576) + " <%:MB%>"
|
||||
);
|
||||
|
||||
if (e = document.getElementById('conns'))
|
||||
e.innerHTML = progressbar(info.conncount, info.connmax);
|
||||
|
||||
}
|
||||
);
|
||||
//]]></script>
|
||||
|
||||
<h2 name="content"><%:Status%></h2>
|
||||
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:System%></legend>
|
||||
|
||||
<table width="100%" cellspacing="10">
|
||||
<tr><td width="33%"><%:Hostname%></td><td><%=luci.sys.hostname() or "?"%></td></tr>
|
||||
<tr><td width="33%"><%:Model%></td><td><%=pcdata(boardinfo.model or "?")%> <%=luci.sys.exec("cat /etc/bench.log") or " "%></td></tr>
|
||||
<tr><td width="33%"><%:Architecture%></td><td><%=pcdata(boardinfo.system or "?")%> x <%=luci.sys.exec("cat /proc/cpuinfo | grep 'processor' | wc -l") or "1"%></td></tr>
|
||||
<tr><td width="33%"><%:Firmware Version%></td><td>
|
||||
<%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> /
|
||||
<%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>)
|
||||
</td></tr>
|
||||
<tr><td width="33%"><%:Kernel Version%></td><td><%=unameinfo.release or "?"%></td></tr>
|
||||
<tr><td width="33%"><%:Local Time%></td><td id="localtime">-</td></tr>
|
||||
<tr><td width="33%"><%:Uptime%></td><td id="uptime">-</td></tr>
|
||||
<tr><td width="33%"><%:Load Average%></td><td id="loadavg">-</td></tr>
|
||||
<tr><td width="33%"><%:CPU usage (%)%></td><td id="cpuusage">-</td></tr>
|
||||
<tr><td width="33%"><%:GitHub仓库%></td><td><a href="https://github.com/kenzok8" target="_blank">
|
||||
kenzo </a></td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:Memory%></legend>
|
||||
|
||||
<table width="100%" cellspacing="10">
|
||||
<tr><td width="33%"><%:Total Available%></td><td id="memtotal">-</td></tr>
|
||||
<tr><td width="33%"><%:Buffered%></td><td id="membuff">-</td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<% if swapinfo.total > 0 then %>
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:Swap%></legend>
|
||||
|
||||
<table width="100%" cellspacing="10">
|
||||
<tr><td width="33%"><%:Total Available%></td><td id="swaptotal">-</td></tr>
|
||||
<tr><td width="33%"><%:Free%></td><td id="swapfree">-</td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:Network%></legend>
|
||||
|
||||
<table width="100%" cellspacing="10">
|
||||
<tr><td width="33%" style="vertical-align:top"><%:IPv4 WAN Status%></td><td>
|
||||
<table><tr>
|
||||
<td id="wan4_i" style="width:16px; text-align:center; padding:3px"><img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small></td>
|
||||
<td id="wan4_s" style="vertical-align:middle; padding: 3px"><em><%:Collecting data...%></em></td>
|
||||
</tr></table>
|
||||
</td></tr>
|
||||
<% if has_ipv6 then %>
|
||||
<tr><td width="33%" style="vertical-align:top"><%:IPv6 WAN Status%></td><td>
|
||||
<table><tr>
|
||||
<td id="wan6_i" style="width:16px; text-align:center; padding:3px"><img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small></td>
|
||||
<td id="wan6_s" style="vertical-align:middle; padding: 3px"><em><%:Collecting data...%></em></td>
|
||||
</tr></table>
|
||||
</td></tr>
|
||||
<% end %>
|
||||
<tr><td width="33%"><%:Online Users%></td><td id="userinfo">0</td></tr>
|
||||
<tr><td width="33%"><%:Active Connections%></td><td id="conns">-</td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<% if has_dhcp then %>
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:DHCP Leases%></legend>
|
||||
|
||||
<table class="cbi-section-table" id="lease_status_table">
|
||||
<tr class="cbi-section-table-titles">
|
||||
<th class="cbi-section-table-cell"><%:Hostname%></th>
|
||||
<th class="cbi-section-table-cell"><%:IPv4-Address%></th>
|
||||
<th class="cbi-section-table-cell"><%:MAC-Address%></th>
|
||||
<th class="cbi-section-table-cell"><%:Leasetime remaining%></th>
|
||||
</tr>
|
||||
<tr class="cbi-section-table-row">
|
||||
<td colspan="4"><em><br /><%:Collecting data...%></em></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<% if has_ipv6 then %>
|
||||
<fieldset class="cbi-section" style="display:none">
|
||||
<legend><%:DHCPv6 Leases%></legend>
|
||||
|
||||
<table class="cbi-section-table" id="lease6_status_table">
|
||||
<tr class="cbi-section-table-titles">
|
||||
<th class="cbi-section-table-cell"><%:Host%></th>
|
||||
<th class="cbi-section-table-cell"><%:IPv6-Address%></th>
|
||||
<th class="cbi-section-table-cell"><%:DUID%></th>
|
||||
<th class="cbi-section-table-cell"><%:Leasetime remaining%></th>
|
||||
</tr>
|
||||
<tr class="cbi-section-table-row">
|
||||
<td colspan="4"><em><br /><%:Collecting data...%></em></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if has_dsl then %>
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:DSL%></legend>
|
||||
<table width="100%" cellspacing="10">
|
||||
<tr><td width="33%" style="vertical-align:top"><%:DSL Status%></td><td>
|
||||
<table><tr>
|
||||
<td id="dsl_i" style="width:16px; text-align:center; padding:3px"><img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small></td>
|
||||
<td id="dsl_s" style="vertical-align:middle; padding: 3px"><em><%:Collecting data...%></em></td>
|
||||
</tr></table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
|
||||
<% if has_wifi then %>
|
||||
<fieldset class="cbi-section">
|
||||
<legend><%:Wireless%></legend>
|
||||
|
||||
<table id="wifi_status_table" width="100%" cellspacing="10">
|
||||
<tr><td><em><%:Collecting data...%></em></td></tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
|
||||
<%+footer%>
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$(uci -q get luci.diag)" != "internal" ]; then
|
||||
host=""
|
||||
|
||||
if [ -s /etc/os-release ]; then
|
||||
. /etc/os-release
|
||||
host="${HOME_URL:-${BUG_URL:-$LEDE_DEVICE_MANUFACTURER_URL}}"
|
||||
host="${host#*://}"
|
||||
host="${host%%/*}"
|
||||
fi
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set luci.diag=internal
|
||||
set luci.diag.dns='${host:-openwrt.org}'
|
||||
set luci.diag.ping='${host:-openwrt.org}'
|
||||
set luci.diag.route='${host:-openwrt.org}'
|
||||
commit luci
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ -n "$(command -v cpuinfo)" ]; then
|
||||
if [ -n "$(command -v ethinfo)" ]; then
|
||||
[ -f /usr/lib/lua/luci/view/admin_status/index_x86.htm ] && {
|
||||
mv /usr/lib/lua/luci/view/admin_status/index_x86.htm /usr/lib/lua/luci/view/admin_status/index.htm
|
||||
}
|
||||
else
|
||||
[ -f /usr/lib/lua/luci/view/admin_status/index_arm.htm ] && {
|
||||
mv /usr/lib/lua/luci/view/admin_status/index_arm.htm /usr/lib/lua/luci/view/admin_status/index.htm
|
||||
}
|
||||
fi
|
||||
fi
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index_x86.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index_arm.htm
|
||||
exit 0
|
|
@ -0,0 +1,121 @@
|
|||
#!/bin/bash
|
||||
function mvdir() {
|
||||
mv -n `find $1/* -maxdepth 0 -type d` ./
|
||||
rm -rf $1
|
||||
}
|
||||
git clone --depth 1 https://github.com/kiddin9/my-packages && mvdir my-packages
|
||||
git clone --depth 1 https://github.com/kiddin9/openwrt-bypass && mvdir openwrt-bypass
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-app-dnsfilter
|
||||
git clone --depth 1 https://github.com/kiddin9/aria2
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-app-eqos
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-app-baidupcs-web
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-theme-edge
|
||||
git clone --depth 1 https://github.com/kiddin9/qBittorrent-Enhanced-Edition
|
||||
git clone --depth 1 https://github.com/kiddin9/autoshare && mvdir autoshare
|
||||
git clone --depth 1 https://github.com/kiddin9/openwrt-openvpn && mvdir openwrt-openvpn
|
||||
git clone --depth 1 https://github.com/kiddin9/luci-app-xlnetacc
|
||||
git clone --depth 1 https://github.com/kiddin9/openwrt-amule-dlp && mvdir openwrt-amule-dlp
|
||||
|
||||
git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall
|
||||
git clone --depth 1 https://github.com/Lienol/openwrt-package
|
||||
git clone --depth 1 https://github.com/BoringCat/luci-app-mentohust
|
||||
git clone --depth 1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk
|
||||
git clone --depth 1 https://github.com/rufengsuixing/luci-app-autoipsetadder
|
||||
git clone --depth 1 https://github.com/NateLol/luci-app-beardropper
|
||||
git clone --depth 1 https://github.com/riverscn/openwrt-iptvhelper && mvdir openwrt-iptvhelper
|
||||
git clone --depth 1 https://github.com/project-lede/luci-app-godproxy
|
||||
git clone --depth 1 https://github.com/BoringCat/luci-app-minieap
|
||||
git clone --depth 1 https://github.com/rufengsuixing/luci-app-onliner
|
||||
git clone --depth 1 https://github.com/tty228/luci-app-serverchan
|
||||
git clone --depth 1 https://github.com/4IceG/luci-app-sms-tool smstool && mvdir smstool
|
||||
git clone --depth 1 https://github.com/rufengsuixing/luci-app-usb3disable
|
||||
git clone --depth 1 https://github.com/silime/luci-app-xunlei
|
||||
git clone --depth 1 https://github.com/ysc3839/luci-proto-minieap
|
||||
|
||||
git clone --depth 1 https://github.com/zzsj0928/luci-app-pushbot
|
||||
git clone --depth 1 https://github.com/shanglanxin/luci-app-homebridge
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-vssr
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-ttnode
|
||||
git clone --depth 1 https://github.com/jefferymvp/luci-app-koolproxyR
|
||||
git clone --depth 1 https://github.com/peter-tank/luci-app-dnscrypt-proxy2
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-advanced
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-netdata
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-poweroffdevice
|
||||
git clone --depth 1 https://github.com/sirpdboy/luci-app-autotimeset
|
||||
git clone --depth 1 https://github.com/wolandmaster/luci-app-rtorrent
|
||||
git clone --depth 1 https://github.com/jerrykuku/luci-app-jd-dailybonus
|
||||
git clone --depth 1 https://github.com/NateLol/luci-app-oled
|
||||
|
||||
git clone --depth 1 https://github.com/destan19/OpenAppFilter && mvdir OpenAppFilter
|
||||
git clone --depth 1 https://github.com/esirplayground/luci-app-poweroff
|
||||
git clone --depth 1 https://github.com/lvqier/luci-app-dnsmasq-ipset
|
||||
git clone --depth 1 https://github.com/small-5/ddns-scripts-dnspod
|
||||
git clone --depth 1 https://github.com/small-5/ddns-scripts-aliyun
|
||||
git clone --depth 1 https://github.com/walkingsky/luci-wifidog luci-app-wifidog
|
||||
git clone --depth 1 https://github.com/peter-tank/luci-app-autorepeater
|
||||
git clone --depth 1 https://github.com/CCnut/feed-netkeeper && mvdir feed-netkeeper
|
||||
git clone --depth 1 https://github.com/brvphoenix/luci-app-wrtbwmon wrtbwmon1 && mvdir wrtbwmon1
|
||||
git clone --depth 1 https://github.com/brvphoenix/wrtbwmon wrtbwmon2 && mvdir wrtbwmon2
|
||||
git clone --depth 1 https://github.com/linkease/ddnsto-openwrt && mvdir ddnsto-openwrt
|
||||
git clone --depth 1 https://github.com/sensec/luci-app-udp2raw
|
||||
git clone --depth 1 https://github.com/LGA1150/openwrt-sysuh3c && mvdir openwrt-sysuh3c
|
||||
git clone --depth 1 https://github.com/gdck/luci-app-cupsd cupsd1 && mv -n cupsd1/luci-app-cupsd cupsd1/cups/cups ./ ; rm -rf cupsd1
|
||||
|
||||
svn co https://github.com/Lienol/openwrt/trunk/package/lean/luci-app-autoreboot
|
||||
svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus
|
||||
svn co https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-ddns/trunk/tencentcloud_ddns luci-app-tencentddns
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/network/services/shellsync
|
||||
svn co https://github.com/x-wrt/packages/trunk/net/nft-qos
|
||||
svn co https://github.com/x-wrt/luci/trunk/applications/luci-app-nft-qos
|
||||
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
|
||||
svn co https://github.com/lisaac/luci-app-dockerman/trunk/applications/luci-app-dockerman
|
||||
|
||||
svn co https://github.com/doushang/luci-app-shortcutmenu/trunk/luci-app-shortcutmenu
|
||||
svn co https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
|
||||
svn co https://github.com/Ysurac/openmptcprouter-feeds/trunk/luci-app-iperf
|
||||
svn co https://github.com/sirpdboy/netspeedtest/trunk/luci-app-netspeedtest
|
||||
svn co https://github.com/messense/aliyundrive-webdav/trunk/openwrt aliyundrive && mvdir aliyundrive
|
||||
|
||||
git clone --depth 1 https://github.com/BCYDTZ/luci-app-UUGameAcc
|
||||
git clone --depth 1 https://github.com/ntlf9t/luci-app-easymesh
|
||||
svn co https://github.com/frainzy1477/luci-app-clash/trunk ./luci-app-clash
|
||||
svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-koolddns
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
|
||||
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
|
||||
svn co https://github.com/liuran001/openwrt-theme/trunk/luci-theme-argon-lr
|
||||
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
|
||||
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
|
||||
svn co https://github.com/kenzok8/jell/trunk/adguardhome
|
||||
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns
|
||||
svn co https://github.com/immortalwrt/packages/trunk/net/smartdns
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-argon_new
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-opentopd_new
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-atmaterial_new
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-mcat
|
||||
svn co https://github.com/kenzok8/litte/trunk/luci-theme-tomato
|
||||
|
||||
svn co https://github.com/immortalwrt/packages/trunk/admin/bpytop
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/jpcre2
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/wxbase
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/libcron
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/rapidjson
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/quickjspp
|
||||
svn co https://github.com/immortalwrt/packages/trunk/libs/toml11
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/qtbase
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/qttools
|
||||
svn co https://github.com/garypang13/openwrt-packages/trunk/rblibtorrent
|
||||
|
||||
mv -n openwrt-passwall/* ./ ; rm -Rf openwrt-passwall
|
||||
mv -n openwrt-package/* ./ ; rm -Rf openwrt-package
|
||||
|
||||
rm -rf ./*/.git & rm -f ./*/.gitattributes
|
||||
rm -rf ./*/.svn & rm -rf ./*/.github & rm -rf ./*/.gitignore
|
||||
exit 0
|
||||
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
--- a/luci-app-adguardhome/root/etc/init.d/AdGuardHome
|
||||
+++ b/luci-app-adguardhome/root/etc/init.d/AdGuardHome
|
||||
@@ -29,7 +29,7 @@ set_forward_dnsmasq()
|
||||
if [ "$server" = "$addr" ]; then
|
||||
continue
|
||||
fi
|
||||
- uci add_list dhcp.@dnsmasq[0].server=$server
|
||||
+ # uci add_list dhcp.@dnsmasq[0].server=$server
|
||||
done
|
||||
uci delete dhcp.@dnsmasq[0].resolvfile 2>/dev/null
|
||||
uci set dhcp.@dnsmasq[0].noresolv=1
|
||||
@@ -499,6 +499,14 @@ start_service() {
|
||||
echo "AdGuardHome service enabled"
|
||||
echo "luci enable switch=$enabled"
|
||||
(sleep 10 && [ -z "$(pgrep $binpath)" ] && logger "AdGuardHome" "no process in 10s cancel redirect" && _do_redirect 0 )&
|
||||
+ if [[ "`uci get bypass.@global[0].global_server 2>/dev/null`" && "`uci get bypass.@global[0].adguardhome 2>/dev/null`" == 1 && "$(uci get dhcp.@dnsmasq[0].port)" == "53" ]]; then
|
||||
+ c1=0
|
||||
+ while ! netstat -tunlp | grep 53 | grep -i AdGuardHome 2>&1; do
|
||||
+ /etc/init.d/bypass restart 2>/dev/null
|
||||
+ sleep 1
|
||||
+ [ $c1 == 5 ] && break || let c1++
|
||||
+ done
|
||||
+ fi
|
||||
}
|
||||
|
||||
reload_service()
|
||||
@@ -539,11 +548,13 @@ stop_service()
|
||||
fi
|
||||
echo "AdGuardHome service disabled"
|
||||
touch /var/run/AdGserverdis
|
||||
+ killall -9 AdGuardHome 2>/dev/null
|
||||
+ /etc/init.d/dnsmasq restart
|
||||
}
|
||||
|
||||
boot() {
|
||||
rc_procd boot_service "$@"
|
||||
- if eval "type service_started" 2>/dev/null >/dev/null; then
|
||||
+ if eval "type service_started" 2>/dev/null; then
|
||||
service_started
|
||||
fi
|
||||
}
|
||||
|
||||
--- a/adguardhome/Makefile
|
||||
+++ b/adguardhome/Makefile
|
||||
@@ -32,7 +32,7 @@ GO_PKG_BUILD_PKG:=github.com/AdguardTeam/AdGuardHome
|
||||
AGH_BUILD_TIME:=$(shell date -d @$(SOURCE_DATE_EPOCH) +%FT%TZ%z)
|
||||
AGH_VERSION_PKG:=github.com/AdguardTeam/AdGuardHome/internal/version
|
||||
GO_PKG_LDFLAGS_X:=$(AGH_VERSION_PKG).channel=release \
|
||||
- $(AGH_VERSION_PKG).version=$(PKG_SOURCE_VERSION) \
|
||||
+ $(AGH_VERSION_PKG).version=v$(PKG_VERSION) \
|
||||
$(AGH_VERSION_PKG).buildtime=$(AGH_BUILD_TIME) \
|
||||
$(AGH_VERSION_PKG).goarm=$(GO_ARM) \
|
||||
$(AGH_VERSION_PKG).gomips=$(GO_MIPS)
|
||||
@@ -52,6 +52,11 @@ define Package/adguardhome/conffiles
|
||||
/etc/adguardhome.yaml
|
||||
endef
|
||||
|
||||
+define Package/adguardhome/postinst
|
||||
+#!/bin/sh
|
||||
+ /etc/init.d/AdGuardHome restart
|
||||
+endef
|
||||
+
|
||||
define Package/adguardhome/description
|
||||
Free and open source, powerful network-wide ads and trackers blocking DNS server.
|
||||
endef
|
|
@ -0,0 +1,14 @@
|
|||
--- /dev/null
|
||||
+++ b/luci-app-oaf/root/usr/share/rpcd/acl.d/luci-app-oaf.json
|
||||
@@ -0,0 +1,11 @@
|
||||
+{
|
||||
+ "luci-app-oaf": {
|
||||
+ "description": "Grant UCI access for luci-app-oaf",
|
||||
+ "read": {
|
||||
+ "uci": [ "appfilter" ]
|
||||
+ },
|
||||
+ "write": {
|
||||
+ "uci": [ "appfilter" ]
|
||||
+ }
|
||||
+ }
|
||||
+}
|
|
@ -0,0 +1,13 @@
|
|||
--- a/cgroupfs-mount/files/cgroupfs-mount.init
|
||||
+++ b/cgroupfs-mount/files/cgroupfs-mount.init
|
||||
@@ -3,10 +3,5 @@
|
||||
START=01
|
||||
|
||||
boot() {
|
||||
- # Procd mounts non-hierarchical cgroupfs so unmount first before cgroupfs-mount
|
||||
- if mountpoint -q /sys/fs/cgroup; then
|
||||
- umount /sys/fs/cgroup/
|
||||
- fi
|
||||
-
|
||||
cgroupfs-mount
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
--- a/luci-app-dockerman/Makefile
|
||||
+++ b/luci-app-dockerman/Makefile
|
||||
@@ -7,6 +7,7 @@ LUCI_DEPENDS:=@(aarch64||arm||x86_64) \
|
||||
+luci-lib-ip \
|
||||
+docker \
|
||||
+dockerd \
|
||||
+ +cgroupfs-mount \
|
||||
+ttyd
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
|
||||
--- a/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm
|
||||
+++ b/luci-app-dockerman/luasrc/view/dockerman/newcontainer_resolve.htm
|
||||
@@ -88,12 +88,29 @@
|
||||
}
|
||||
|
||||
function show_reslov_dialog() {
|
||||
- document.getElementById('dialog_reslov') || document.body.insertAdjacentHTML("beforeend", '<div id="dialog_reslov"><div class="dialog_box"><div class="dialog_line"></div><div class="dialog_line"><span><%:Plese input <docker create/run> command line:%></span><br><span id="cmd-line-status"></span></div><div class="dialog_line"><textarea class="cbi-input-textarea" id="dialog_reslov_text" style="width: 100%; height:100%;" rows="15" onkeyup="clear_text()"></textarea></div><div class="dialog_line" style="text-align: right;"><input type="button" class="btn cbi-button cbi-button-apply" type="submit" value="<%:Submit%>" onclick="reslov_container()" /> <input type="button" class="btn cbi-button cbi-button-reset" type="reset" value="<%:Cancel%>" onclick="close_reslov_dialog()" /></div><div class="dialog_line"></div></div></div>')
|
||||
+ document.getElementById('dialog_reslov') || document.body.insertAdjacentHTML("beforeend", '<div id="dialog_reslov"><div class="dialog_box"><div class="dialog_line"></div><div class="dialog_line"><span><%:Plese input <docker create/run> command line:%></span><br><span id="cmd-line-status"></span><span id="qinglong"><a href="javascript:writeInto()">青龙京豆</a></span></div><div class="dialog_line"><textarea class="cbi-input-textarea" id="dialog_reslov_text" style="width: 100%; height:100%;" rows="15" onkeyup="clear_text()"></textarea></div><div class="dialog_line" style="text-align: right;"><input type="button" class="btn cbi-button cbi-button-apply" type="submit" value="<%:Submit%>" onclick="reslov_container()" /> <input type="button" class="btn cbi-button cbi-button-reset" type="reset" value="<%:Cancel%>" onclick="close_reslov_dialog()" /></div><div class="dialog_line"></div></div></div>')
|
||||
document.body.classList.add('dialog-reslov-active')
|
||||
let s = document.getElementById('cmd-line-status')
|
||||
s.innerHTML = ""
|
||||
document.documentElement.style.overflowY = 'hidden'
|
||||
}
|
||||
+ function writeInto(){
|
||||
+ var t = document.getElementById("dialog_reslov_text");
|
||||
+ t.value = "docker run -dit \
|
||||
+ -v /opt/ql/config:/ql/config \
|
||||
+ -v /opt/ql/db:/ql/db \
|
||||
+ -v /opt/ql/scripts:/ql/scripts \
|
||||
+ -v /opt/ql/log:/ql/log \
|
||||
+ -v /opt/ql/repo:/ql/repo \
|
||||
+ -v /opt/ql/jbot:/ql/jbot \
|
||||
+ -v /opt/ql/ninja:/ql/ninja \
|
||||
+ -p 5700:5700 \
|
||||
+ -p 5701:5701 \
|
||||
+ --name qinglong \
|
||||
+ --hostname qinglong \
|
||||
+ --restart always \
|
||||
+ whyour/qinglong:latest";
|
||||
+}
|
||||
</script>
|
||||
<%+cbi/valueheader%>
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
--- a/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
|
||||
+++ b/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
|
||||
@@ -109,12 +109,10 @@ h.template = "cbi/nullsection"
|
||||
ss = h:option(DummyValue, "_dummy", translate("Service Status"))
|
||||
ss.template = packageName .. "/status"
|
||||
ss.value = packageStatus
|
||||
-if packageStatusCode ~= -1 then
|
||||
- buttons = h:option(DummyValue, "_dummy", translate("Service Control"))
|
||||
- buttons.template = packageName .. "/buttons"
|
||||
-end
|
||||
|
||||
c = m:section(NamedSection, "config", "https-dns-proxy", translate("Configuration"))
|
||||
+o = c:option(Flag, "enabled", translate("Enable"))
|
||||
+o.default = 1
|
||||
d1 = c:option(ListValue, "update_dnsmasq_config", translate("Update DNSMASQ Config on Start/Stop"), translatef("If update option is selected, the 'DNS forwardings' section of %sDHCP and DNS%s will be automatically updated to use selected DoH providers (%smore information%s).", "<a href=\"" .. dispatcher.build_url("admin/network/dhcp") .. "\">", "</a>", "<a href=\"" .. readmeURL .. "#default-settings" .. "\" target=\"_blank\">", "</a>"))
|
||||
d1:value('*', translate("Update all configs"))
|
||||
local dnsmasq_num = 0
|
||||
|
||||
--- a/https-dns-proxy/files/https-dns-proxy.init
|
||||
+++ b/https-dns-proxy/files/https-dns-proxy.init
|
||||
@@ -96,6 +96,8 @@ is_force_dns_active() { iptables-save | grep -q -w -- '--dport 53'; }
|
||||
start_service() {
|
||||
local p=5053 c
|
||||
config_load 'https-dns-proxy'
|
||||
+ config_get enabled 'config' 'enabled' '1'
|
||||
+ [ "$enabled" = 0 ] && return
|
||||
config_get dnsmasqConfig 'config' 'update_dnsmasq_config' '*'
|
||||
config_get_bool forceDNS 'config' 'force_dns' '1'
|
||||
config_get forceDNSPorts 'config' 'force_dns_port' '53 853'
|
||||
@@ -152,7 +154,7 @@ stop_service() {
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
- procd_add_config_trigger "config.change" "https-dns-proxy" /etc/init.d/https-dns-proxy reload
|
||||
+ procd_add_config_trigger "config.change" "https-dns-proxy" /etc/init.d/https-dns-proxy restart
|
||||
}
|
||||
|
||||
service_started() { procd_set_config_changed firewall; }
|
||||
@@ -203,8 +205,8 @@ dnsmasq_restore_server_backup() {
|
||||
fi
|
||||
uci -q del "dhcp.${cfg}.doh_backup_noresolv"
|
||||
fi
|
||||
+ uci -q del "dhcp.${cfg}.server"
|
||||
if uci -q get "dhcp.${cfg}.doh_backup_server" >/dev/null; then
|
||||
- uci -q del "dhcp.${cfg}.server"
|
||||
for i in $(uci -q get "dhcp.${cfg}.doh_backup_server"); do
|
||||
uci -q add_list "dhcp.${cfg}.server=$i"
|
||||
done
|
||||
|
||||
--- a/luci-app-https-dns-proxy/root/etc/uci-defaults/40_luci-https-dns-proxy
|
||||
+++ b/luci-app-https-dns-proxy/root/etc/uci-defaults/40_luci-https-dns-proxy
|
||||
@@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
+uci -q batch <<-EOF >/dev/null
|
||||
+ delete ucitrack.@https-dns-proxy[-1]
|
||||
+ add ucitrack https-dns-proxy
|
||||
+ set ucitrack.@https-dns-proxy[-1].init=https-dns-proxy
|
||||
+ commit ucitrack
|
||||
+EOF
|
||||
rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache;
|
||||
exit 0
|
|
@ -0,0 +1,11 @@
|
|||
--- a/luci-app-cifs/root/etc/init.d/cifs
|
||||
+++ b/luci-app-cifs/root/etc/init.d/cifs
|
||||
@@ -91,7 +91,7 @@ mount_natshare() {
|
||||
natpath="//${server}/$name"
|
||||
|
||||
append _mount_path "$MOUNTAREA/$name"
|
||||
- append _agm "-o ${USERS}${GUEST},dom=$WORKGROUPD,iocharset=$IOCHARSET,$SEC,$AGM,vers=1.0"
|
||||
+ append _agm "-o ${USERS}${GUEST},dom=$WORKGROUPD,iocharset=$IOCHARSET,$SEC,$AGM"
|
||||
|
||||
sleep 1
|
||||
mkdir -p $_mount_path
|
|
@ -0,0 +1,10 @@
|
|||
--- a/luci-app-mentohust/Makefile
|
||||
+++ b/luci-app-mentohust/Makefile
|
||||
@@ -11,6 +11,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/luci-app-mentohust
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
+ DEPENDS:=+mentohust
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=MentoHUST 802.1X Client for LuCI
|
||||
PKGARCH:=all
|
|
@ -0,0 +1,22 @@
|
|||
--- a/luci-app-wizard/root/usr/share/luci/menu.d/luci-app-wizard.json
|
||||
+++ b/luci-app-wizard/root/usr/share/luci/menu.d/luci-app-wizard.json
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
- "admin/initsetup": {
|
||||
+ "admin/network/initsetup": {
|
||||
"title": "Wizard",
|
||||
- "order": 990,
|
||||
+ "order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wizard/wizard"
|
||||
|
||||
--- a/luci-app-wizard/root/etc/config/wizard
|
||||
+++ b/luci-app-wizard/root/etc/config/wizard
|
||||
@@ -1,5 +1,5 @@
|
||||
config wizard 'default'
|
||||
- option lan_ipaddr '192.168.15.1'
|
||||
+ option lan_ipaddr ''
|
||||
option lan_netmask '255.255.255.0'
|
||||
option wan_proto 'dhcp'
|
||||
option wan_ipaddr ''
|
|
@ -0,0 +1,11 @@
|
|||
--- a/miniupnpd/Makefile
|
||||
+++ b/miniupnpd/Makefile
|
||||
@@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=miniupnpd
|
||||
-PKG_VERSION:=2.0.20170421
|
||||
+PKG_VERSION:=2.0.20180503
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
|
|
@ -0,0 +1,50 @@
|
|||
--- a/luci-app-mtwifi/luasrc/view/admin_mtk/mtk_wifi_dev_cfg.htm
|
||||
+++ b/luci-app-mtwifi/luasrc/view/admin_mtk/mtk_wifi_dev_cfg.htm
|
||||
@@ -472,7 +472,7 @@
|
||||
}
|
||||
|
||||
function getCountryRegionList(mode) {
|
||||
- XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_country_region_list")%>', 'mode='+mode,
|
||||
+ XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_country_region_list")%>', { "mode" : mode },
|
||||
function(x)
|
||||
{
|
||||
//console.log(x);
|
||||
@@ -497,7 +497,7 @@
|
||||
}
|
||||
|
||||
function getChannelList(mode, country_region) {
|
||||
- XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_channel_list")%>', 'mode='+mode+'&country_region='+country_region,
|
||||
+ XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_channel_list")%>', { "mode" : mode, "country_region" : country_region },
|
||||
function(x)
|
||||
{
|
||||
console.log(x);
|
||||
@@ -616,7 +616,7 @@
|
||||
mode = mode.value*1;
|
||||
|
||||
var cr = GetCountryRegion(mode);
|
||||
- XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_5G_2nd_80Mhz_channel_list")%>', 'ch_cur='+ch+'&country_region='+cr,
|
||||
+ XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_5G_2nd_80Mhz_channel_list")%>', { "ch_cur" : ch, "country_region" : cr },
|
||||
function(x)
|
||||
{
|
||||
//console.log(x);
|
||||
@@ -658,7 +658,7 @@
|
||||
mode = mode.value*1;
|
||||
|
||||
var cr = GetCountryRegion(mode);
|
||||
- XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_HT_ext_channel_list")%>', 'ch_cur='+ch+'&country_region='+cr,
|
||||
+ XHR.get('<%=luci.dispatcher.build_url("admin", "network", "wifi", "get_HT_ext_channel_list")%>', { "ch_cur" : ch, "country_region" : cr },
|
||||
function(x)
|
||||
{
|
||||
console.log(x);
|
||||
|
||||
--- a/luci-app-mtwifi/luasrc/view/admin_mtk/mtk_wifi_overview.htm
|
||||
+++ b/luci-app-mtwifi/luasrc/view/admin_mtk/mtk_wifi_overview.htm
|
||||
@@ -31,7 +31,7 @@ <h2><a name="content">无线概况</a></h2>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width:34px">
|
||||
- <img src="/luci-static/resources/icons/wifi_big.png" style="float:left; margin-right:10px" />
|
||||
+ <img src="/luci-static/resources/icons/wifi.png" style="float:left; margin-right:10px" />
|
||||
</td>
|
||||
<td colspan="2" style="text-align:left">
|
||||
<big><strong title="<%=dev.profile%>"> Generic Mediatek <%=dev.devname%></strong></big>
|
|
@ -0,0 +1,54 @@
|
|||
--- a/luci-app-netspeedtest/Makefile
|
||||
+++ b/luci-app-netspeedtest/Makefile
|
||||
@@ -19,25 +19,15 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=LuCI Support for netspeedtest
|
||||
- DEPENDS:=+python3 +iperf3
|
||||
- DESCRIPTION:=LuCI support Network speed test intranet and Extranet
|
||||
- PKGARCH:=all
|
||||
-endef
|
||||
-
|
||||
-define Package/$(PKG_NAME)/description
|
||||
- Luci Support for netspeedtest.
|
||||
-endef
|
||||
-
|
||||
-define Build/Prepare
|
||||
- $(foreach po,$(wildcard ${CURDIR}/po/zh-cn/*.po), \
|
||||
- po2lmo $(po) $(PKG_BUILD_DIR)/$(patsubst %.po,%.lmo,$(notdir $(po)));)
|
||||
+ PKGARCH:=all
|
||||
+ DEPENDS:=+python3 +iperf3
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
-/etc/config/netspeedtest
|
||||
+ /etc/config/netspeedtest
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
@@ -46,10 +36,7 @@ define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/
|
||||
cp -pR ./root/* $(1)/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
||||
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/netspeedtest.lmo $(1)/usr/lib/lua/luci/i18n/
|
||||
+ po2lmo ./po/zh-cn/netspeedtest.po $(1)/usr/lib/lua/luci/i18n/netspeedtest.zh-cn.lmo
|
||||
endef
|
||||
|
||||
-include $(TOPDIR)/feeds/luci/luci.mk
|
||||
-
|
||||
-# call BuildPackage - OpenWrt buildroot signature
|
||||
-
|
||||
+$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
|
||||
diff --git a/luci-app-netspeedtest/root/etc/init.d/netspeedtest b/luci-app-netspeedtest/root/etc/init.d/netspeedtest
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
diff --git a/luci-app-netspeedtest/root/etc/init.d/speedtest b/luci-app-netspeedtest/root/etc/init.d/speedtest
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
diff --git a/luci-app-netspeedtest/root/etc/uci-defaults/40_luci-app-netspeedtest b/luci-app-netspeedtest/root/etc/uci-defaults/40_luci-app-netspeedtest
|
||||
old mode 100644
|
||||
new mode 100755
|
|
@ -0,0 +1,87 @@
|
|||
--- a/openvpn/files/etc/hotplug.d/openvpn/01-user
|
||||
+++ b/openvpn/files/etc/hotplug.d/openvpn/01-user
|
||||
@@ -1,9 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -e "/etc/openvpn.user" ] && {
|
||||
+[ -e "/etc/openvpn/openvpn.user" ] && {
|
||||
env -i ACTION="$ACTION" INSTANCE="$INSTANCE" \
|
||||
/bin/sh \
|
||||
- /etc/openvpn.user \
|
||||
+ /etc/openvpn/openvpn.user \
|
||||
$*
|
||||
}
|
||||
|
||||
|
||||
--- a/openvpn/files/openvpn.init
|
||||
+++ b/openvpn/files/openvpn.init
|
||||
@@ -140,9 +140,6 @@ openvpn_add_instance() {
|
||||
local name="$1"
|
||||
local dir="$2"
|
||||
local conf="$3"
|
||||
- local security="$4"
|
||||
- local up="$5"
|
||||
- local down="$6"
|
||||
|
||||
procd_open_instance "$name"
|
||||
procd_set_param command "$PROG" \
|
||||
@@ -150,13 +147,8 @@ openvpn_add_instance() {
|
||||
--status "/var/run/openvpn.$name.status" \
|
||||
--cd "$dir" \
|
||||
--config "$conf" \
|
||||
- --up "/usr/libexec/openvpn-hotplug up $name" \
|
||||
- --down "/usr/libexec/openvpn-hotplug down $name" \
|
||||
- ${up:+--setenv user_up "$up"} \
|
||||
- ${down:+--setenv user_down "$down"} \
|
||||
- --script-security "${security:-2}" \
|
||||
- $(openvpn_get_dev "$name" "$conf") \
|
||||
- $(openvpn_get_credentials "$name" "$conf")
|
||||
+ --script-security 2 \
|
||||
+ $(openvpn_get_dev "$name" "$conf")
|
||||
procd_set_param file "$dir/$conf"
|
||||
procd_set_param term_timeout 15
|
||||
procd_set_param respawn
|
||||
@@ -177,28 +169,22 @@ start_instance() {
|
||||
return 1
|
||||
}
|
||||
|
||||
- local up down script_security
|
||||
- config_get up "$s" up
|
||||
- config_get down "$s" down
|
||||
- config_get script_security "$s" script_security
|
||||
-
|
||||
[ ! -d "/var/run" ] && mkdir -p "/var/run"
|
||||
|
||||
if [ ! -z "$config" ]; then
|
||||
append UCI_STARTED "$config" "$LIST_SEP"
|
||||
- [ -n "$up" ] || get_openvpn_option "$config" up up
|
||||
- [ -n "$down" ] || get_openvpn_option "$config" down down
|
||||
- openvpn_add_instance "$s" "${config%/*}" "$config" "$script_security" "$up" "$down"
|
||||
+ openvpn_add_instance "$s" "${config%/*}" "$config"
|
||||
return
|
||||
fi
|
||||
|
||||
- create_temp_file "/var/etc/openvpn-$s.conf"
|
||||
+ [ ! -d "/var/etc" ] && mkdir -p "/var/etc"
|
||||
+ [ -f "/var/etc/openvpn-$s.conf" ] && rm "/var/etc/openvpn-$s.conf"
|
||||
|
||||
append_bools "$s" $OPENVPN_BOOLS
|
||||
append_params "$s" $OPENVPN_PARAMS
|
||||
append_list "$s" $OPENVPN_LIST
|
||||
|
||||
- openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf" "$script_security" "$up" "$down"
|
||||
+ openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf"
|
||||
}
|
||||
|
||||
start_service() {
|
||||
@@ -240,9 +226,7 @@ start_service() {
|
||||
continue
|
||||
fi
|
||||
|
||||
- get_openvpn_option "$path" up up || up=""
|
||||
- get_openvpn_option "$path" down down || down=""
|
||||
- openvpn_add_instance "$name" "${path%/*}" "$path" "" "$up" "$down"
|
||||
+ openvpn_add_instance "$name" "${path%/*}" "$path" ""
|
||||
fi
|
||||
done
|
||||
fi
|
|
@ -0,0 +1,21 @@
|
|||
--- /dev/null
|
||||
+++ b/pdnsd-alt/patches/10-filter-aaaa.patch
|
||||
@@ -0,0 +1,18 @@
|
||||
+--- a/src/dns_answer.c
|
||||
++++ b/src/dns_answer.c
|
||||
+@@ -567,6 +567,7 @@ static int add_rrset(dns_msg_t **ans, size_t *sz, size_t *allocsz,
|
||||
+ if (rnd_recs) b=first=randrr(crrset->rrs);
|
||||
+
|
||||
+ while (b) {
|
||||
++ if (tp==T_AAAA) goto add_rrset_next;
|
||||
+ if (!add_rr(ans, sz, allocsz, rrn, tp, ans_ttl(crrset,queryts),
|
||||
+ b->rdlen, b->data, S_ANSWER, udp, cb))
|
||||
+ return 0;
|
||||
+@@ -584,6 +585,7 @@ static int add_rrset(dns_msg_t **ans, size_t *sz, size_t *allocsz,
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
++add_rrset_next:
|
||||
+ b=b->next;
|
||||
+ if (rnd_recs) {
|
||||
+ if(!b) b=crrset->rrs; /* wraparound */
|
|
@ -0,0 +1,314 @@
|
|||
--- a/qBittorrent/Makefile
|
||||
+++ b/qBittorrent/Makefile
|
||||
@@ -65,11 +65,14 @@ TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||
|
||||
define Package/qbittorrent/conffiles
|
||||
/etc/config/qbittorrent
|
||||
+/etc/qBittorrent
|
||||
endef
|
||||
|
||||
define Package/qbittorrent/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qbittorrent-nox $(1)/usr/bin
|
||||
+ $(INSTALL_DIR) $(1)/etc/qBittorrent
|
||||
+ $(INSTALL_DATA) ./files/ipfilter.dat $(1)/etc/qBittorrent/ipfilter.dat
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,qbittorrent))
|
||||
|
||||
--- /dev/null
|
||||
+++ b/qBittorrent/files/ipfilter.dat
|
||||
@@ -0,0 +1,293 @@
|
||||
+14.17.29.0 - 14.17.44.255 , 0 , Tencent Offline
|
||||
+14.17.101.0 - 14.17.101.255 , 0 , Baidu Offline
|
||||
+14.29.92.0 - 14.29.92.255 , 0 , Xunlei Offline
|
||||
+14.215.177.0 - 14.215.177.255 , 0 , Baidu Offline
|
||||
+23.3.68.0 - 23.3.68.255 , 0 , Tencent Offline
|
||||
+27.221.20.0 - 27.221.21.255 , 0 , 360
|
||||
+27.221.36.0 - 27.221.38.255 , 0 , Baidu Offline
|
||||
+36.110.198.0 - 36.110.198.255 , 0 , Baidu Offline
|
||||
+36.248.6.0 - 36.248.6.255 , 0 , Baidu Offline
|
||||
+36.250.0.0 - 36.250.0.255 , 0 , Baidu Offline
|
||||
+36.251.188.0 - 36.251.188.255 , 0 , Baidu Offline
|
||||
+42.56.64.0 - 42.56.65.255 , 0 , Tencent Offline
|
||||
+42.236.4.0 - 42.236.7.255 , 0 , Baidu Offline
|
||||
+45.113.68.0 - 45.113.71.255 , 0 , Tencent Offline
|
||||
+49.4.0.0 - 49.4.127.255 , 0 , HUAWEI
|
||||
+49.51.0.0 - 49.51.31.255 , 0 , Tencent Offline
|
||||
+58.48.212.0 - 58.48.212.255 , 0 , Tencent Offline
|
||||
+58.51.144.0 - 58.51.144.255 , 0 , Xunlei Offline
|
||||
+58.61.39.0 - 58.61.152.255 , 0 , Xunlei Offline
|
||||
+58.67.137.0 - 58.67.137.255 , 0 , Xunlei Offline
|
||||
+58.198.42.0 - 58.198.42.255 , 0 , Tencent Offline
|
||||
+58.215.118.0 - 58.215.123.255 , 0 , Baidu Offline
|
||||
+58.217.200.0 - 58.217.222.255 , 0 , Baidu Offline
|
||||
+58.220.12.0 - 58.220.12.255 , 0 , Xunlei Offline
|
||||
+58.222.18.0 - 58.222.25.255 , 0 , Baidu Offline
|
||||
+58.251.57.0 - 58.251.61.255 , 0 , Xunlei Offline
|
||||
+58.252.209.0 - 58.252.209.255 , 0 , Xunlei Offline
|
||||
+58.254.134.0 - 58.254.134.255 , 0 , Xunlei Offline
|
||||
+58.255.249.0 - 58.255.253.255 , 0 , Xunlei Offline
|
||||
+59.45.75.0 - 59.45.75.255 , 0 , Baidu Offline
|
||||
+59.51.81.0 - 59.51.81.255 , 0 , Baidu Offline
|
||||
+59.53.69.0 - 59.53.69.255 , 0 , Baidu Offline
|
||||
+59.53.86.0 - 59.53.86.255 , 0 , Tencent Offline
|
||||
+59.74.44.0 - 59.74.45.255 , 0 , Tencent Offline
|
||||
+60.2.237.0 - 60.2.237.255 , 0 , Tencent Offline
|
||||
+60.18.146.0 - 60.18.147.255 , 0 , Xunlei Offline
|
||||
+60.19.64.0 - 60.19.64.255 , 0 , Xunlei Offline
|
||||
+60.21.219.0 - 60.21.219.255 , 0 , Xunlei Offline
|
||||
+60.28.9.0 - 60.28.22.255 , 0 , Baidu Offline
|
||||
+60.160.190.0 - 60.160.190.255 , 0 , Xunlei Offline
|
||||
+60.211.226.0 - 60.211.226.255 , 0 , Baidu Offline
|
||||
+60.214.64.0 - 60.214.64.255 , 0 , Xunlei Offline
|
||||
+60.217.235.0 - 60.217.236.255 , 0 , Xunlei Offline
|
||||
+60.220.197.0 - 60.220.197.255 , 0 , Xunlei Offline
|
||||
+60.221.254.0 - 60.221.254.255 , 0 , Xunlei Offline
|
||||
+61.54.12.0 - 61.54.24.255 , 0 , Xunlei Offline
|
||||
+61.54.47.0 - 61.54.47.255 , 0 , Baidu Offline
|
||||
+61.132.226.0 - 61.132.226.255 , 0 , Baidu Offline
|
||||
+61.135.145.0 - 61.135.191.255 , 0 , Baidu Offline
|
||||
+61.137.90.0 - 61.137.90.255 , 0 , MNDISK Offline
|
||||
+61.137.191.0 - 61.137.191.255 , 0 , Xunlei Offline
|
||||
+61.138.131.0 - 61.138.131.255 , 0 , Tencent Offline
|
||||
+61.138.177.0 - 61.138.177.255 , 0 , Xunlei Offline
|
||||
+61.139.103.0 - 61.139.103.255 , 0 , Xunlei Offline
|
||||
+61.147.76.0 - 61.147.94.255 , 0 , Xunlei Offline
|
||||
+61.152.105.0 - 61.152.105.255 , 0 , Xunlei Offline
|
||||
+61.153.56.0 - 61.153.56.255 , 0 , Baidu Offline
|
||||
+61.155.149.0 - 61.155.165.255 , 0 , Baidu Offline
|
||||
+61.155.183.0 - 61.155.183.255 , 0 , Xunlei Offline
|
||||
+61.155.220.0 - 61.155.220.255 , 0 , Tencent Offline
|
||||
+61.160.224.0 - 61.160.224.255 , 0 , 360
|
||||
+61.160.230.0 - 61.160.231.255 , 0 , Tencent Offline
|
||||
+61.160.253.0 - 61.160.253.255 , 0 , Tencent Offline
|
||||
+61.164.120.0 - 61.164.120.255 , 0 , Tencent Offline
|
||||
+61.164.155.0 - 61.164.155.255 , 0 , Baidu Offline
|
||||
+61.173.85.0 - 61.173.85.255 , 0 , Xunlei Offline
|
||||
+61.178.227.0 - 61.178.227.255 , 0 , Xunlei Offline
|
||||
+61.179.109.0 - 61.179.109.255 , 0 , Baidu Offline
|
||||
+61.182.137.0 - 61.182.137.255 , 0 , Baidu Offline
|
||||
+61.183.55.0 - 61.183.55.255 , 0 , Xunlei Offline
|
||||
+61.188.190.0 - 61.188.190.255 , 0 , Xunlei Offline
|
||||
+61.235.71.0 - 61.235.71.255 , 0 , Xunlei Offline
|
||||
+61.240.144.0 - 61.240.144.255 , 0 , 360
|
||||
+64.251.96.0 - 64.251.111.255 , 0 , 360
|
||||
+101.4.60.0 - 101.4.61.255 , 0 , 360
|
||||
+101.64.181.0 - 101.64.181.255 , 0 , Baidu Offline
|
||||
+101.69.162.0 - 101.69.162.255 , 0 , Baidu Offline
|
||||
+101.71.56.0 - 101.71.56.255 , 0 , Baidu Offline
|
||||
+101.198.0.0 - 101.199.255.255 , 0 , 360
|
||||
+101.226.4.0 - 101.226.4.255 , 0 , 360
|
||||
+101.226.63.0 - 101.226.76.255 , 0 , Tencent Offline
|
||||
+101.226.180.0 - 101.226.180.255 , 0 , Xunlei Offline
|
||||
+101.227.130.0 - 101.227.143.255 , 0 , Tencent Offline
|
||||
+103.7.28.0 - 103.7.31.255 , 0 , Tencent Offline
|
||||
+103.28.8.0 - 103.28.11.255 , 0 , 360
|
||||
+103.31.200.0 - 103.31.203.255 , 0 , HUAWEI
|
||||
+106.38.179.0 - 106.38.179.255 , 0 , Baidu Offline
|
||||
+106.120.159.0 - 106.120.159.255 , 0 , Baidu Offline
|
||||
+110.18.246.0 - 110.18.246.255 , 0 , Baidu Offline
|
||||
+110.188.3.0 - 110.188.3.255 , 0 , Tencent Offline
|
||||
+111.13.12.0 - 111.13.113.255 , 0 , Baidu Offline
|
||||
+111.30.135.0 - 111.30.135.255 , 0 , Tencent Offline
|
||||
+111.161.24.0 - 111.161.24.255 , 0 , Xunlei Offline
|
||||
+111.206.36.0 - 111.206.76.255 , 0 , Baidu Offline
|
||||
+112.25.34.0 - 112.25.34.255 , 0 , 115 Offline
|
||||
+112.25.60.0 - 112.25.60.255 , 0 , 360
|
||||
+112.80.23.0 - 112.80.23.255 , 0 , Xunlei Offline
|
||||
+112.80.248.0 - 112.80.255.255 , 0 , Baidu Offline
|
||||
+112.87.43.0 - 112.87.43.227 , 0 , Xunlei Offline
|
||||
+112.90.17.0 - 112.90.17.255 , 0 , Xunlei Offline
|
||||
+112.117.217.0 - 112.117.217.255 , 0 , Xunlei Offline
|
||||
+112.253.12.0 - 112.253.12.255 , 0 , Baidu Offline
|
||||
+113.105.143.0 - 113.105.143.255 , 0 , 115 Offline
|
||||
+113.105.148.81 - 113.105.148.255 , 0 , Baidu Offline
|
||||
+113.107.248.0 - 113.107.248.255 , 0 , Baidu Offline
|
||||
+113.108.29.0 - 113.108.29.255 , 0 , Tencent Offline
|
||||
+113.115.10.0 - 113.115.10.255 , 0 , Tencent Offline
|
||||
+113.142.0.0 - 113.142.31.255 , 0 , Tencent Offline
|
||||
+113.200.90.0 - 113.200.90.255 , 0 , Tencent Offline
|
||||
+114.80.183.0 - 114.80.255.255 , 0 , Xunlei Offline
|
||||
+114.112.202.0 - 114.112.202.255 , 0 , Xunlei Offline
|
||||
+115.159.0.0 - 115.159.255.255 , 0 , Tencent Offline
|
||||
+115.231.38.0 - 115.231.45.255 , 0 , Xunlei Offline
|
||||
+115.236.96.0 - 115.236.153.255 , 0 , Tencent Offline
|
||||
+115.238.230.0 - 115.238.243.255 , 0 , UC Offline
|
||||
+115.239.210.0 - 115.239.212.255 , 0 , Baidu Offline
|
||||
+116.10.186.0 - 116.10.186.255 , 0 , Xunlei Offline
|
||||
+116.31.127.0 - 116.31.127.255 , 0 , Baidu Offline
|
||||
+116.55.230.0 - 116.55.255.255 , 0 , Xunlei Offline
|
||||
+116.57.183.0 - 116.57.255.255 , 0 , Tencent Offline
|
||||
+116.211.117.0 - 116.211.117.255 , 0 , Baidu Offline
|
||||
+116.253.190.0 - 116.253.190.255 , 0 , Tencent Offline
|
||||
+117.21.185.0 - 117.21.185.255 , 0 , Tencent Offline
|
||||
+117.25.132.0 - 117.25.132.255 , 0 , Tencent Offline
|
||||
+117.27.148.0 - 117.27.149.255 , 0 , Baidu Offline
|
||||
+117.34.6.0 - 117.34.6.255 , 0 , Tencent Offline
|
||||
+117.34.28.0 - 117.34.37.255 , 0 , Baidu Offline
|
||||
+117.34.91.0 - 117.34.91.255 , 0 , Xunlei Offline
|
||||
+117.34.112.0 - 117.34.112.255 , 0 , Baidu Offline
|
||||
+117.78.0.0 - 117.78.23.255 , 0 , HUAWEI
|
||||
+118.122.36.0 - 118.122.88.255 , 0 , Xunlei Offline
|
||||
+118.123.97.0 - 118.123.97.255 , 0 , Tencent Offline
|
||||
+118.123.116.0 - 118.123.223.255 , 0 , Baidu Offline
|
||||
+118.180.6.0 - 118.180.6.255 , 0 , Baidu Offline
|
||||
+119.75.208.0 - 119.75.223.255 , 0 , Baidu Offline
|
||||
+119.84.11.0 - 119.84.11.255 , 0 , Xunlei Offline
|
||||
+119.84.72.0 - 119.84.72.255 , 0 , Tencent Offline
|
||||
+119.84.110.0 - 119.84.114.255 , 0 , Xunlei Offline
|
||||
+119.97.178.0 - 119.97.183.255 , 0 , Xunlei Offline
|
||||
+119.120.94.0 - 119.120.94.255 , 0 , Xunlei Offline
|
||||
+119.134.253.0 - 119.134.253.255 , 0 , Baidu Offline
|
||||
+119.144.9.0 - 119.144.9.255 , 0 , Xunlei Offline
|
||||
+119.147.15.0 - 119.147.41.255 , 0 , Tencent Offline
|
||||
+119.147.99.0 - 119.147.249.255 , 0 , 115 Offline
|
||||
+119.167.241.0 - 119.167.241.255 , 0 , Tencent Offline
|
||||
+119.167.246.0 - 119.167.246.255 , 0 , Baidu Offline
|
||||
+119.178.12.0 - 119.178.12.255 , 0 , Xunlei Offline
|
||||
+119.188.11.0 - 119.188.132.255 , 0 , Xunlei Offline
|
||||
+119.189.1.0 - 119.189.1.255 , 0 , Xunlei Offline
|
||||
+120.52.114.0 - 120.52.114.255 , 0 , Baidu Offline
|
||||
+121.9.209.0 - 121.9.255.255 , 0 , Xunlei Offline
|
||||
+121.10.24.0 - 121.10.137.255 , 0 , Xunlei Offline
|
||||
+121.11.68.0 - 121.11.68.255 , 0 , Tencent Offline
|
||||
+121.12.94.0 - 121.12.94.255 , 0 , Baidu Offline
|
||||
+121.14.35.0 - 121.14.35.255 , 0 , Baidu Offline
|
||||
+121.14.82.0 - 121.14.97.255 , 0 , Xunlei Offline
|
||||
+121.14.131.0 - 121.14.131.255 , 0 , Tencent Offline
|
||||
+121.14.222.0 - 121.14.228.255 , 0 , Xunlei Offline
|
||||
+122.70.142.0 - 122.70.142.255 , 0 , Baidu Offline
|
||||
+122.136.46.0 - 122.136.46.255 , 0 , Baidu Offline
|
||||
+122.141.227.0 - 122.141.235.255 , 0 , Xunlei Offline
|
||||
+122.143.1.0 - 122.143.6.255 , 0 , Xunlei Offline
|
||||
+122.143.15.0 - 122.143.15.255 , 0 , 360
|
||||
+122.192.32.0 - 122.192.32.255 , 0 , Tencent Offline
|
||||
+122.193.41.0 - 122.193.41.255 , 0 , Baidu Offline
|
||||
+122.224.10.0 - 122.224.10.255 , 0 , Baidu Offline
|
||||
+122.227.15.0 - 122.227.15.255 , 0 , Tencent Offline
|
||||
+122.228.218.0 - 122.228.234.255 , 0 , Baidu Offline
|
||||
+122.228.241.0 - 122.228.255.255 , 0 , Xunlei Offline
|
||||
+123.66.33.0 - 123.66.33.255 , 0 , Xunlei Offline
|
||||
+123.125.64.0 - 123.125.115.255 , 0 , Baidu Offline
|
||||
+123.125.160.0 - 123.125.161.255 , 0 , 360
|
||||
+123.129.219.0 - 123.129.255.255 , 0 , Xunlei Offline
|
||||
+123.138.102.0 - 123.138.239.255 , 0 , Tencent Offline
|
||||
+123.151.44.0 - 123.151.138.255 , 0 , Tencent Offline
|
||||
+123.162.190.0 - 123.162.191.255 , 0 , Xunlei Offline
|
||||
+123.183.223.0 - 123.183.223.255 , 0 , Xunlei Offline
|
||||
+124.89.102.0 - 124.89.103.255 , 0 , Tencent Offline
|
||||
+124.95.156.0 - 124.95.174.255 , 0 , Xunlei Offline
|
||||
+124.115.1.0 - 124.115.14.255 , 0 , Tencent Offline
|
||||
+124.115.215.0 - 124.115.215.255 , 0 , Baidu Offline
|
||||
+124.160.163.0 - 124.160.171.255 , 0 , Tencent Offline
|
||||
+124.161.23.0 - 124.161.23.255 , 0 , Tencent Offline
|
||||
+124.165.216.0 - 124.165.216.255 , 0 , Baidu Offline
|
||||
+124.193.227.0 - 124.193.227.255 , 0 , Baidu Offline
|
||||
+124.225.122.0 - 124.225.122.255 , 0 , Tencent Offline
|
||||
+124.228.42.0 - 124.228.42.255 , 0 , Tencent Offline
|
||||
+124.232.148.0 - 124.232.148.255 , 0 , Xunlei Offline
|
||||
+124.238.238.0 - 124.238.238.255 , 0 , Baidu Offline
|
||||
+125.39.72.0 - 125.39.79.255 , 0 , Xunlei Offline
|
||||
+125.39.126.0 - 125.39.255.255 , 0 , Tencent Offline
|
||||
+125.46.42.0 - 125.46.42.255 , 0 , Xunlei Offline
|
||||
+125.78.242.0 - 125.78.247.255 , 0 , Xunlei Offline
|
||||
+125.218.29.0 - 125.218.29.255 , 0 , Tencent Offline
|
||||
+125.221.46.0 - 125.221.46.255 , 0 , Xunlei Offline
|
||||
+140.206.165.0 - 140.206.165.255 , 0 , Tencent Offline
|
||||
+159.226.50.0 - 159.226.50.255 , 0 , Baidu Offline
|
||||
+162.105.207.0 - 162.105.207.255 , 0 , Baidu Offline
|
||||
+171.111.152.0 - 171.112.96.255 , 0 , Baidu Offline
|
||||
+175.155.115.0 - 175.155.116.255 , 0 , Tencent Offline
|
||||
+180.76.0.0 - 180.76.255.255 , 0 , Baidu Offline
|
||||
+180.96.0.0 - 180.96.1.255 , 0 , Tencent Offline
|
||||
+180.97.7.0 - 180.97.7.255 , 0 , Tencent Offline
|
||||
+180.97.33.0 - 180.97.34.255 , 0 , Baidu Offline
|
||||
+180.97.151.0 - 180.97.152.255 , 0 , Xunlei Offline
|
||||
+180.149.131.0 - 180.149.145.255 , 0 , Baidu Offline
|
||||
+180.153.91.0 - 180.153.115.255 , 0 , Xunlei Offline
|
||||
+180.153.235.0 - 180.153.235.255 , 0 , 360
|
||||
+182.86.197.0 - 182.86.197.255 , 0 , Baidu Offline
|
||||
+182.118.13.0 - 182.118.125.255 , 0 , Xunlei Offline
|
||||
+182.130.10.0 - 182.130.11.255 , 0 , Tencent Offline
|
||||
+182.131.8.0 - 182.131.11.255 , 0 , Tencent Offline
|
||||
+182.140.134.0 - 182.140.177.255 , 0 , Tencent Offline
|
||||
+182.140.227.0 - 182.140.227.255 , 0 , 360
|
||||
+182.150.1.0 - 182.150.1.255 , 0 , Baidu Offline
|
||||
+182.247.251.0 - 182.247.251.255 , 0 , Xunlei Offline
|
||||
+182.254.0.0 - 182.254.255.255 , 0 , Tencent Offline
|
||||
+183.60.15.0 - 183.60.15.255 , 0 , Tencent Offline
|
||||
+183.60.131.0 - 183.60.131.255 , 0 , Baidu Offline
|
||||
+183.60.139.0 - 183.60.139.255 , 0 , 115 Offline
|
||||
+183.60.208.0 - 183.60.209.255 , 0 , Xunlei Offline
|
||||
+183.60.211.0 - 183.60.211.255 , 0 , 360
|
||||
+183.60.235.0 - 183.60.235.255 , 0 , Baidu Offline
|
||||
+183.61.49.0 - 183.61.49.255 , 0 , Tencent Offline
|
||||
+183.61.133.0 - 183.61.133.255 , 0 , Baidu Offline
|
||||
+183.63.33.0 - 183.63.33.255 , 0 , Xunlei Offline
|
||||
+183.94.216.0 - 183.94.239.255 , 0 , Xunlei Offline
|
||||
+183.131.32.0 - 183.131.39.255 , 0 , Baidu Offline
|
||||
+183.136.133.0 - 183.136.133.255 , 0 , 360
|
||||
+183.136.156.0 - 183.136.158.255 , 0 , Xunlei Offline
|
||||
+183.136.218.0 - 183.136.218.255 , 0 , Baidu Offline
|
||||
+183.157.36.0 - 183.157.36.255 , 0 , Xunlei Offline
|
||||
+183.221.245.0 - 183.221.245.255 , 0 , Baidu Offline
|
||||
+183.232.22.0 - 183.232.22.255 , 0 , Baidu Offline
|
||||
+202.38.194.0 - 202.38.194.255 , 0 , Tencent Offline
|
||||
+202.100.78.0 - 202.100.78.255 , 0 , Tencent Offline
|
||||
+202.105.139.0 - 202.105.139.255 , 0 , Xunlei Offline
|
||||
+202.105.182.0 - 202.105.182.255 , 0 , Tencent Offline
|
||||
+202.108.11.0 - 202.108.250.255 , 0 , Baidu Offline
|
||||
+203.195.64.0 - 203.195.95.255 , 0 , Tencent Offline
|
||||
+203.195.128.0 - 203.195.255.255 , 0 , Tencent Offline
|
||||
+203.205.128.0 - 203.205.255.255 , 0 , Tencent Offline
|
||||
+210.38.3.0 - 210.38.3.255 , 0 , Tencent Offline
|
||||
+210.39.2.0 - 210.39.2.255 , 0 , Tencent Offline
|
||||
+211.90.25.0 - 211.90.25.255 , 0 , Baidu Offline
|
||||
+211.98.168.0 - 211.98.171.255 , 0 , Xunlei Offline
|
||||
+211.137.100.0 - 211.137.100.255 , 0 , Xunlei Offline
|
||||
+211.151.210.0 - 211.151.210.255 , 0 , 115 Offline
|
||||
+211.162.73.0 - 211.162.73.255 , 0 , Xunlei Offline
|
||||
+218.6.13.0 - 218.6.13.255 , 0 , Xunlei Offline
|
||||
+218.8.242.0 - 218.8.242.255 , 0 , Tencent Offline
|
||||
+218.21.68.0 - 218.21.68.255 , 0 , Xunlei Offline
|
||||
+218.22.90.0 - 218.22.90.255 , 0 , Tencent Offline
|
||||
+218.26.232.0 - 218.26.232.255 , 0 , Xunlei Offline
|
||||
+218.30.73.0 - 218.30.73.255 , 0 , Tencent Offline
|
||||
+218.59.144.0 - 218.59.144.255 , 0 , Xunlei Offline
|
||||
+218.60.11.0 - 218.60.11.255 , 0 , Tencent Offline
|
||||
+218.75.140.0 - 218.75.140.255 , 0 , Baidu Offline
|
||||
+218.75.172.0 - 218.75.172.255 , 0 , Xunlei Offline
|
||||
+218.199.46.0 - 218.199.46.255 , 0 , Tencent Offline
|
||||
+219.129.83.0 - 219.129.83.255 , 0 , Xunlei Offline
|
||||
+219.134.132.0 - 219.134.132.255 , 0 , Xunlei Offline
|
||||
+219.151.4.0 - 219.151.4.255 , 0 , Tencent Offline
|
||||
+219.159.248.0 - 219.159.248.255 , 0 , MNDISK Offline
|
||||
+220.113.9.0 - 220.113.9.255 , 0 , Xunlei Offline
|
||||
+220.115.240.0 - 220.115.240.255 , 0 , Xunlei Offline
|
||||
+220.161.209.0 - 220.161.209.255 , 0 , Baidu Offline
|
||||
+220.170.192.0 - 220.170.192.255 , 0 , Tencent Offline
|
||||
+220.181.5.0 - 220.181.167.255 , 0 , Baidu Offline
|
||||
+220.249.103.0 - 220.249.103.255 , 0 , Xunlei Offline
|
||||
+221.4.246.0 - 221.4.246.255 , 0 , Xunlei Offline
|
||||
+221.5.8.0 - 221.5.8.255 , 0 , Xunlei Offline
|
||||
+221.203.176.0 - 221.204.232.255 , 0 , Xunlei Offline
|
||||
+221.215.87.0 - 221.215.87.255 , 0 , Xunlei Offline
|
||||
+221.233.79.0 - 221.233.79.255 , 0 , Baidu Offline
|
||||
+221.235.189.0 - 221.235.205.255 , 0 , Xunlei Offline
|
||||
+221.236.21.0 - 221.236.30.255 , 0 , Tencent Offline
|
||||
+221.238.25.0 - 221.238.25.255 , 0 , Xunlei Offline
|
||||
+222.24.133.0 - 222.24.133.255 , 0 , Tencent Offline
|
||||
+222.28.155.0 - 222.28.155.255 , 0 , Tencent Offline
|
||||
+222.73.49.0 - 222.73.133.255 , 0 , Xunlei Offline
|
||||
+222.73.183.0 - 222.73.183.255 , 0 , Tencent Offline
|
||||
+222.133.46.0 - 222.133.46.255 , 0 , Baidu Offline
|
||||
+222.141.53.0 - 222.141.53.255 , 0 , Xunlei Offline
|
||||
+222.141.220.0 - 222.141.220.255 , 0 , Tencent Offline
|
||||
+222.161.212.0 - 222.161.255.255 , 0 , Xunlei Offline
|
||||
+222.186.17.0 - 222.186.19.255 , 0 , Xunlei Offline
|
||||
+222.186.55.0 - 222.186.55.255 , 0 , Baidu Offline
|
||||
+222.199.144.0 - 222.199.191.255 , 0 , Baidu Offline
|
||||
+222.211.64.0 - 222.211.64.255 , 0 , Baidu Offline
|
||||
+222.215.119.0 - 222.215.119.255 , 0 , Tencent Offline
|
||||
+222.216.190.0 - 222.216.190.255 , 0 , Baidu Offline
|
||||
+222.218.45.0 - 222.218.45.255 , 0 , Baidu Offline
|
|
@ -0,0 +1,71 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci set luci.main.lang=zh_cn
|
||||
uci commit luci
|
||||
|
||||
uci set system.@system[0].timezone=CST-8
|
||||
uci set system.@system[0].zonename=Asia/Shanghai
|
||||
uci commit system
|
||||
|
||||
uci set fstab.@global[0].anon_mount=1
|
||||
uci commit fstab
|
||||
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/mwan.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/upnp.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/ddns.htm
|
||||
rm -f /usr/lib/lua/luci/view/admin_status/index/minidlna.htm
|
||||
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/aria2.lua
|
||||
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/aria2/overview_status.htm
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/hd_idle.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/samba.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/minidlna.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/transmission.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/mjpg-streamer.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/p910nd.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/usb_printer.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua
|
||||
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm
|
||||
|
||||
ln -sf /sbin/ip /usr/bin/ip
|
||||
|
||||
sed -i 's#http://downloads.openwrt.org#https://mirrors.cloud.tencent.com/lede#g' /etc/opkg/distfeeds.conf
|
||||
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
|
||||
|
||||
sed -i "s/# //g" /etc/opkg/distfeeds.conf
|
||||
sed -i '/openwrt_luci/ { s/snapshots/releases\/18.06.8/g; }' /etc/opkg/distfeeds.conf
|
||||
|
||||
sed -i '/REDIRECT --to-ports 53/d' /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
|
||||
sed -i '/option disabled/d' /etc/config/wireless
|
||||
sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh
|
||||
|
||||
sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release
|
||||
echo "DISTRIB_REVISION='small'" >> /etc/openwrt_release
|
||||
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
|
||||
echo "DISTRIB_DESCRIPTION='0penwrt '" >> /etc/openwrt_release
|
||||
|
||||
sed -i 's/LuCI Master/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI openwrt-18.06 branch/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI 17.01 Lienol/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i 's/LuCI openwrt-21.02 branch/kenzo/g' /usr/lib/lua/luci/version.lua
|
||||
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
|
||||
echo 'luciversion = "Sept"' >> /usr/lib/lua/luci/version.lua
|
||||
|
||||
|
||||
sed -i '/log-facility/d' /etc/dnsmasq.conf
|
||||
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf
|
||||
|
||||
sed -i 's/cbi.submit\"] = true/cbi.submit\"] = \"1\"/g' /usr/lib/lua/luci/dispatcher.lua
|
||||
|
||||
date=`date +%m.%d`
|
||||
sed -i "s/# REVISION:=x/REVISION:= $date/g" include/version.mk
|
||||
|
||||
echo 'hsts=0' > /root/.wgetrc
|
||||
|
||||
rm -rf /tmp/luci-modulecache/
|
||||
rm -f /tmp/luci-indexcache
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue