Compare commits

...

24 Commits
xray ... main

Author SHA1 Message Date
93d390c8dc 更新 amy/amy4Server.sh 2025-07-29 14:27:52 +00:00
c392e4700a 更新 amy/amy4Server.sh 2025-07-24 00:07:06 +00:00
e1acd12a98 更新 cns/cns.sh 2025-07-24 00:06:17 +00:00
e9fca06f18 更新 xray/xray.sh 2025-07-24 00:05:22 +00:00
b311535047 更新 builds.sh 2025-07-24 00:03:21 +00:00
7b6a699ec2 更新 README.md 2025-07-24 00:00:37 +00:00
9e5b939fa2 上传文件至 xray 2025-07-24 01:53:37 +02:00
c336c87f10 删除 xray/xray.sh 2025-07-24 01:53:20 +02:00
4efacdba86 上传文件至 xray 2025-07-24 01:50:28 +02:00
6e3f88bcaa 上传文件至 xray 2025-07-24 01:38:51 +02:00
e11f89d4ea 上传文件至 xray 2025-07-24 01:37:19 +02:00
22f3074b41 上传文件至 xray 2025-07-24 01:36:21 +02:00
9dccd4de5e 上传文件至 cns 2025-07-24 00:46:32 +02:00
025d4f89a1 上传文件至 cns 2025-07-24 00:46:03 +02:00
0bcb68360c 上传文件至 amy 2025-07-24 00:43:40 +02:00
1d9980d90b 上传文件至 amy 2025-07-24 00:43:21 +02:00
d5f54dd6eb 上传文件至 amy 2025-07-24 00:42:38 +02:00
a131878
5b45099794
Update builds.sh 2025-07-17 19:07:38 +08:00
a131878
8826783f87
Update builds.sh 2025-07-17 19:06:01 +08:00
a131878
ac72f21f83
Update builds.sh 2025-07-17 19:05:10 +08:00
a131878
4776de81b6
Delete xui 2025-07-17 19:03:40 +08:00
a131878
b8cbeceacf
Create xui 2025-07-17 19:03:28 +08:00
a131878
989324255c
Update xray.sh 2025-07-17 19:02:13 +08:00
a131878
5862db39c2
Update xray.sh 2025-07-17 19:01:16 +08:00
44 changed files with 16 additions and 15 deletions

View File

@ -1,4 +1,4 @@
```
wget -O builds.sh https://gh.0507.dpdns.org/https://github.com/a131878/cns/blob/main/builds.sh && sh builds.sh
wget -O builds.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/builds.sh && sh builds.sh
```

View File

@ -95,8 +95,8 @@ InstallFiles() {
fi
mkdir -p "$amy4Server_install_dir" || Error "Create amy4Server install directory failed."
cd "$amy4Server_install_dir" || exit 1
download_tool amy4Server https://github.com/a131878/cns/blob/main/amy/${os}_${machine} || Error "amy4Server download failed."
download_tool amy4Server.init https://github.com/a131878/cns/blob/main/amy/amy4Server.init || Error "amy4Server.init download failed."
download_tool amy4Server https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/amy/${os}_${machine} || Error "amy4Server download failed."
download_tool amy4Server.init https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/amy/amy4Server.init || Error "amy4Server.init download failed."
[ -f '/etc/rc.common' ] && rcCommon='/etc/rc.common'
sed -i "s~#!/bin/sh~#!$SHELL $rcCommon~" amy4Server.init
sed -i "s~\[amy4Server_install_dir\]~$amy4Server_install_dir~g" amy4Server.init
@ -117,7 +117,7 @@ InstallFiles() {
EOF
chmod -R +rwx "$amy4Server_install_dir" /etc/init.d/amy4Server
if type systemctl &>/dev/null && [ -z "$(systemctl --failed|grep -q 'Host is down')" ]; then
download_tool /lib/systemd/system/amy4Server.service https://github.com/a131878/cns/blob/main/amy/amy4Server.service || Error "amy4Server.service download failed."
download_tool /lib/systemd/system/amy4Server.service https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/amy/amy4Server.service || Error "amy4Server.service download failed."
chmod +rwx /lib/systemd/system/amy4Server.service
sed -i "s~\[amy4Server_install_dir\]~$amy4Server_install_dir~g" /lib/systemd/system/amy4Server.service
systemctl daemon-reload
@ -192,7 +192,7 @@ Install() {
if ! echo "$ret"|grep -q 'OK' || echo "$ret"|grep -q 'FAILED'; then
Error "amy4Server install failed."
fi
type systemctl &>/dev/null && [ -z "$(systemctl --failed|grep -q 'Host is down')" ] && systemctl restart amy4Server
type systemctl &>/dev/null && systemctl daemon-reload && [ -z "$(systemctl --failed|grep -q 'Host is down')" ] && systemctl restart amy4Server
echo $echo_e_arg \
"\033[44;37mamy4Server install success.\033[0;34m
\r amy4Server server port:\033[35G${amy4Server_port}

BIN
amy/android_arm64 Normal file

Binary file not shown.

BIN
amy/linux_386 Normal file

Binary file not shown.

BIN
amy/linux_mips Normal file

Binary file not shown.

BIN
amy/linux_mips64 Normal file

Binary file not shown.

BIN
amy/linux_mips64_softfloat Normal file

Binary file not shown.

BIN
amy/linux_mips64le Normal file

Binary file not shown.

Binary file not shown.

BIN
amy/linux_mips_softfloat Normal file

Binary file not shown.

BIN
amy/linux_mipsle Normal file

Binary file not shown.

BIN
amy/linux_mipsle_softfloat Normal file

Binary file not shown.

BIN
amy/linux_s390x Normal file

Binary file not shown.

View File

@ -135,7 +135,7 @@ xray_set() {
}
cns_task() {
if $download_tool_cmd cns.sh https://gh.0507.dpdns.org/https://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/main/cns/cns.sh; then
if $download_tool_cmd cns.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/cns/cns.sh; then
chmod 777 cns.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" cns.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./cns.sh $task_type && \
@ -149,7 +149,7 @@ cns_task() {
amy4Server_task() {
if $download_tool_cmd amy4Server.sh https://gh.0507.dpdns.org/https://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/main/amy/amy4Server.sh; then
if $download_tool_cmd amy4Server.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/amy/amy4Server.sh; then
chmod 777 amy4Server.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" amy4Server.sh
echo $echo_opt_e "n"|./amy4Server.sh $task_type && \
@ -163,7 +163,7 @@ amy4Server_task() {
xray_task() {
if $download_tool_cmd xray.sh https://gh.0507.dpdns.org/https://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/main/xray/xray.sh; then
if $download_tool_cmd xray.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/xray/xray.sh; then
chmod 777 xray.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" xray.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./xray.sh $task_type && \

View File

@ -71,8 +71,8 @@ InstallFiles() {
fi
mkdir -p "$cns_install_dir" || Error "Create cns install directory failed."
cd "$cns_install_dir" || exit 1
$download_tool_cmd cns https://github.com/a131878/cns/blob/main/cns/linux_${machine} || Error "cns download failed."
$download_tool_cmd cns.init https://github.com/a131878/cns/edit/main/cns/cns.init || Error "cns.init download failed."
$download_tool_cmd cns https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/cns/linux_${machine} || Error "cns download failed."
$download_tool_cmd cns.init https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/cns/cns.init || Error "cns.init download failed."
[ -f '/etc/rc.common' ] && rcCommon='/etc/rc.common'
sed -i "s~#!/bin/sh~#!$SHELL $rcCommon~" cns.init
sed -i "s~\[cns_start_cmd\]~$cns_start_cmd~g" cns.init
@ -99,7 +99,7 @@ InstallFiles() {
EOF
chmod -R +rwx "$cns_install_dir" /etc/init.d/cns
if type systemctl && [ -z "$(systemctl --failed|grep -q 'Host is down')" ]; then
$download_tool_cmd /lib/systemd/system/cns.service https://github.com/a131878/cns/edit/main/cns/cns.service || Error "cns.service download failed."
$download_tool_cmd /lib/systemd/system/cns.service https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/cns/cns.service || Error "cns.service download failed."
chmod +rwx /lib/systemd/system/cns.service
sed -i "s~\[cns_install_dir\]~$cns_install_dir~g" /lib/systemd/system/cns.service
systemctl daemon-reload

BIN
cns/linux_386 Normal file

Binary file not shown.

BIN
cns/linux_mips Normal file

Binary file not shown.

BIN
cns/linux_mips64 Normal file

Binary file not shown.

BIN
cns/linux_mips64_softfloat Normal file

Binary file not shown.

BIN
cns/linux_mips64le Normal file

Binary file not shown.

Binary file not shown.

BIN
cns/linux_mips_softfloat Normal file

Binary file not shown.

BIN
cns/linux_mipsle Normal file

Binary file not shown.

BIN
cns/linux_mipsle_softfloat Normal file

Binary file not shown.

BIN
xray/386 Normal file

Binary file not shown.

BIN
xray/amd64 Normal file

Binary file not shown.

BIN
xray/android-arm64 Normal file

Binary file not shown.

BIN
xray/arm Normal file

Binary file not shown.

BIN
xray/arm64 Normal file

Binary file not shown.

BIN
xray/armv5 Normal file

Binary file not shown.

BIN
xray/armv6 Normal file

Binary file not shown.

BIN
xray/armv7 Normal file

Binary file not shown.

BIN
xray/darwin-amd64 Normal file

Binary file not shown.

BIN
xray/mips Normal file

Binary file not shown.

BIN
xray/mips64 Normal file

Binary file not shown.

BIN
xray/mips64_softfloat Normal file

Binary file not shown.

BIN
xray/mips64le Normal file

Binary file not shown.

BIN
xray/mips64le_softfloat Normal file

Binary file not shown.

BIN
xray/mips_softfloat Normal file

Binary file not shown.

BIN
xray/mipsle Normal file

Binary file not shown.

BIN
xray/mipsle_softfloat Normal file

Binary file not shown.

BIN
xray/s390x Normal file

Binary file not shown.

1
xray/v1.8.24.txt Normal file
View File

@ -0,0 +1 @@
https://github.com/felix-fly/xray-openwrt/releases/tag/v1.8.24

View File

@ -234,7 +234,7 @@ Config() {
echo -n "Install UPX compress version?[n]: "
read xray_UPX
fi
echo "$xray_UPX"|grep -qi '^y' && xray_UPX="upx" || xray_UPX=""
#echo "$xray_UPX"|grep -qi '^y' && xray_UPX="upx" || xray_UPX=""
}
GetAbi() {
@ -267,8 +267,8 @@ InstallFile() {
mkdir -p "${xray_install_directory:=/usr/local/xray}" || Error "Create xray install directory failed."
cd "$xray_install_directory" || Error "Create cns install directory failed."
#install xray
$download_tool_cmd xray http://xray.540186.xyz/dxy/xray/${xray_UPX}/linux_${machine}${softfloat} || Error "xray download failed."
$download_tool_cmd xray.init http://xray.540186.xyz/dxy/xray/xray.init || Error "xray.init download failed."
$download_tool_cmd xray https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/xray/${xray_UPX}/${machine}${softfloat} || Error "xray download failed."
$download_tool_cmd xray.init https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/xray/xray.init || Error "xray.init download failed."
[ -f '/etc/rc.common' ] && rcCommon='/etc/rc.common'
sed -i "s~#!/bin/sh~#!$SHELL $rcCommon~" xray.init
sed -i "s~\[xray_install_directory\]~$xray_install_directory~g" xray.init
@ -277,7 +277,7 @@ InstallFile() {
ln -s "$xray_install_directory/xray.init" /etc/init.d/xray
chmod -R +rwx "$xray_install_directory" /etc/init.d/xray
if which systemctl &>/dev/null && [ -z "$(systemctl --failed|grep -q 'Host is down')" ]; then
$download_tool_cmd /lib/systemd/system/xray.service http://xray.540186.xyz/dxy/xray/xray.service || Error "xray.service download failed."
$download_tool_cmd /lib/systemd/system/xray.service https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/xray/xray.service || Error "xray.service download failed."
chmod +rwx /lib/systemd/system/xray.service
sed -i "s~\[xray_install_directory\]~$xray_install_directory~g" /lib/systemd/system/xray.service
systemctl daemon-reload