From 3cfadd17177060df19ed886e27f9c8297163175b Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 21 Oct 2024 17:51:02 +0300 Subject: [PATCH] init.d: openwrt min disk space startup --- .gitignore | 2 +- init.d/openwrt-minimal/tpws/etc/config/tpws | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 init.d/openwrt-minimal/tpws/etc/config/tpws diff --git a/.gitignore b/.gitignore index 7be93dd..58a3912 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -config +/config ip2net/ip2net mdig/mdig nfq/nfqws diff --git a/init.d/openwrt-minimal/tpws/etc/config/tpws b/init.d/openwrt-minimal/tpws/etc/config/tpws new file mode 100644 index 0000000..55bf66c --- /dev/null +++ b/init.d/openwrt-minimal/tpws/etc/config/tpws @@ -0,0 +1,12 @@ +config global defaults + option user daemon + option tpws /usr/bin/tpws + +config tpws + option port 900 + option opt '--split-pos=2 --oob' + option enabled 1 +config tpws + option port 901 + option opt '--split-tls=sni --disorder' + option enabled 0