更新文件: runwebdavsim.sh, webdav_simulator.amd64, runembysim.sh, embysim.tar.xz

This commit is contained in:
ZJP Monitor
2025-07-14 12:23:33 +08:00
parent 1b642ff8d6
commit 0f92d8ac5b
4 changed files with 6 additions and 6 deletions

View File

@ -20,10 +20,10 @@ progdir=$(pwd)
SCRIPT_NAME=$(basename "$0")
# 检查是否有相同的脚本在运行(排除当前进程)
if pgrep -f "$SCRIPT_NAME" | grep -v "$$" > /dev/null; then
echo "脚本已在运行,退出..."
exit 1
fi
#if pgrep -f "$SCRIPT_NAME" | grep -v "$$" > /dev/null; then
# echo "脚本已在运行,退出..."
# exit 1
#fi
if [ "$SELFIP" == "" ]; then
interface=$(ip route show | grep default | awk '{print $5}')