diff --git a/.gitmodules b/.gitmodules index 4f0bcde..69a26fd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/build_scripts/0.init.sh b/build_scripts/0.init.sh new file mode 100644 index 0000000..84bd5a2 --- /dev/null +++ b/build_scripts/0.init.sh @@ -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 \ No newline at end of file diff --git a/build_scripts/1.new.sh b/build_scripts/1.new.sh new file mode 100644 index 0000000..5f41a56 --- /dev/null +++ b/build_scripts/1.new.sh @@ -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 \ No newline at end of file diff --git a/package/OpenAppFilter b/package/OpenAppFilter new file mode 160000 index 0000000..1d53ac8 --- /dev/null +++ b/package/OpenAppFilter @@ -0,0 +1 @@ +Subproject commit 1d53ac80034ac9e986ed70aa057bfa6fb9921467