更新文件: rclonemount.sh, runembysim.sh, embysim.tar.xz
This commit is contained in:
@ -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."
|
||||
|
Reference in New Issue
Block a user