add openappfilter

This commit is contained in:
木魚(iFish/iccfish@qq.com) 2021-08-03 17:55:16 +08:00
parent f59f2ddb10
commit 66e3766e39
4 changed files with 27 additions and 0 deletions

3
.gitmodules vendored
View File

@ -25,3 +25,6 @@
[submodule "luci/luci-theme-darkmatter"]
path = luci/luci-theme-darkmatter
url = https://github.com/apollo-ng/luci-theme-darkmatter.git
[submodule "package/OpenAppFilter"]
path = package/OpenAppFilter
url = https://github.com/destan19/OpenAppFilter.git

10
build_scripts/0.init.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync
git clone https://github.com/coolsnowwolf/lede
cd lede
cp feeds.conf.default feeds.conf
echo 'src-git lede_ifish https://github.com/iccfish/lede-ifish-package.git' >>feeds.conf.default

13
build_scripts/1.new.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
./scripts/feeds update -a
./scripts/feeds install -a -f
bash ./feeds/lede_ifish/cpconfig.sh ax6
make defconfig
make download -j$(($(nproc) + 1))
sed -i 's/net.netfilter.nf_conntrack_max=.*/net.netfilter.nf_conntrack_max=65535/g' package/kernel/linux/files/sysctl-nf-conntrack.conf
sed -i 's/192.168.1.1/172.16.1.1/g' package/base-files/files/bin/config_generate
make -j1 V=s

1
package/OpenAppFilter Submodule

@ -0,0 +1 @@
Subproject commit 1d53ac80034ac9e986ed70aa057bfa6fb9921467