#!/bin/bash
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color

echo "========== 文件检查结果 =========="
for file in /usr/sbin/gots /usr/bin/nginx /usr/trim/bin/trim_https_cgi; do
    if [ -f "$file" ]; then
        echo -e "${GREEN}[✓ 存在]${NC} $file"
    else
        echo -e "${RED}[✗ 缺失]${NC} $file"
    fi
done
echo "================================="
