更新文件: tmuxrunwebdavsim.sh, rclonemount.sh, attach.sh, install.sh, runembysim.sh 等6个文件
This commit is contained in:
@ -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)"
|
||||
|
Reference in New Issue
Block a user