更新文件: 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

Binary file not shown.

View File

@ -27,7 +27,7 @@ mkdir -p external/rclone.media rclone.cache
chmod 777 external/rclone.media rclone.cache
url=$(cat rclone.conf |grep -E "^url"|sed -e 's/.*\(http.*\)/\1/'|head -1)
echo "webdav url:$url"
echo "get webdav url from rclone.conf:$url"
mkdir -p ${progdir}/emby.tmp
chmod 777 ${progdir}/emby.tmp

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."