更新文件: rclonemount.sh, runembysim.sh, embysim.tar.xz

This commit is contained in:
ZJP Monitor
2025-07-04 10:25:10 +08:00
parent 05f15727c5
commit d372156d48
3 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@ interface=$(ip route show | grep default | awk '{print $5}')
export SELFIP=$(ip addr show $interface | grep -w inet | awk '{print $2}' | cut -d/ -f1|head -1)
echo "DETECT SELF IP:${SELFIP}, if this is not correct, change SELFIP to your real ip"
url=$(cat rclone.conf |grep -E "^url"|sed -e 's/.*\(http.*\)/\1/'|head -1)
echo "get webdav url from rclone:$url"
curl -v -L $url
if [ $? -eq 0 ]; then
echo "WARN:webdavsim is running, data may be outdate."