🐶 Sync 2026-06-07 20:35:32

This commit is contained in:
github-actions[bot] committed 2026-06-07 20:35:32 +08:00
1 parent a427b26104
commit fd4dfefb8d
8 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gecoosac
PKG_VERSION:=2.2.20251015
PKG_RELEASE:=2
PKG_RELEASE:=3
ifeq ($(ARCH),aarch64)
PKG_ARCH:=ac_linux_arm64
+1 -1
View File
@@ -1,7 +1,7 @@
config gecoosac 'config'
option enabled '0'
option port '60650'
option isonlyoneprot '0'
option isonlyoneprot '1'
option m_port '8080'
option https '0'
option crt_file '/etc/gecoosac/tls/gecoosac.crt'
+2 -2
View File
@@ -23,7 +23,7 @@ init_conf() {
config_get "upload_dir" "config" "upload_dir" "$DEFAULT_UPLOAD_DIR"
config_get "enabled" "config" "enabled" "0"
config_get "port" "config" "port" "60650"
config_get "isonlyoneprot" "config" "isonlyoneprot" "0"
config_get "isonlyoneprot" "config" "isonlyoneprot" "1"
config_get "m_port" "config" "m_port" "8080"
config_get "https" "config" "https" "0"
config_get "crt_file" "config" "crt_file" "$DEFAULT_CRT_FILE"
@@ -60,7 +60,7 @@ normalize_conf() {
is_port "$m_port" || m_port="8080"
[ "$enabled" = "1" ] || enabled="0"
[ "$isonlyoneprot" = "1" ] || isonlyoneprot="0"
[ "$isonlyoneprot" = "0" ] || isonlyoneprot="1"
[ "$https" = "1" ] || https="0"
case "$lang" in
zh|en) ;;
+1 -1
View File
@@ -20,7 +20,7 @@ set_default() {
ensure_section
set_default enabled 0
set_default port 60650
set_default isonlyoneprot 0
set_default isonlyoneprot 1
set_default m_port 8080
set_default https 0
set_default crt_file /etc/gecoosac/tls/gecoosac.crt