mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
Sync config.json to config.db for manual modify admin_mode and other configs
This commit is contained in:
@@ -114,10 +114,10 @@ read_env_vars() {
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
# Validation: Database File (trading.db)
|
||||
# Validation: Database File (config.db)
|
||||
# ------------------------------------------------------------------------
|
||||
check_database() {
|
||||
if [ ! -f "trading.db" ]; then
|
||||
if [ ! -f "config.db" ]; then
|
||||
print_info "数据库文件不存在,系统将在启动时自动创建"
|
||||
else
|
||||
print_success "数据库文件存在"
|
||||
|
||||
Reference in New Issue
Block a user