更新文件: tmuxrunwebdavsim.sh, rclonemount.sh, attach.sh, install.sh, runembysim.sh 等6个文件

This commit is contained in:
ZJP Monitor
2025-07-02 19:48:26 +08:00
parent a45a368413
commit 186dee884e
6 changed files with 49 additions and 11 deletions

View File

@ -18,7 +18,7 @@ progdir=$(pwd)
num=$(mount |grep "/external"|wc -l)
if [ $num -lt 1 ]; then
mkdir -p external
mkdir -p external >/dev/null 2>&1
mount -o bind,shared emby.external external
echo "mount emby.external to external to mark shared"
fi
@ -44,7 +44,14 @@ if [ $? -eq 0 ]; then
echo "WARN:webdavsim is running, data may be outdate."
else
echo "run webdavsim..."
nohup ./runwebdavsim.sh >/dev/null 2>&1 &
tmux -V
if [ $? -eq 0 ]; then
chmod u+x tmuxrunwebdavsim.sh
./tmuxrunwebdavsim.sh
else
chmod u+x tmuxrunwebdavsim.sh
nohup ./runwebdavsim.sh >/dev/null 2>&1 &
fi
fi
echo "TRY CONNECT webdavsim, please wait... abount(30s)"