From 9fec7f26f2a356b64d801e0102be6946b120bc6d Mon Sep 17 00:00:00 2001 From: ZJP Monitor Date: Wed, 2 Jul 2025 21:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6:=20rclonem?= =?UTF-8?q?ount.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rclonemount.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rclonemount.sh b/rclonemount.sh index ff25372..a915ef5 100644 --- a/rclonemount.sh +++ b/rclonemount.sh @@ -44,12 +44,11 @@ if [ $? -eq 0 ]; then echo "WARN:webdavsim is running, data may be outdate." else echo "run webdavsim..." + chmod u+x tmuxrunwebdavsim.sh 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 @@ -80,7 +79,8 @@ if [ "$webdavsimok" != "1" ]; then fi echo "ready to rclone mount, please wait...(abount 60s)" -rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 60s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode writes --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G --buffer-size 64M --vfs-cache-max-age 1h --vfs-cache-max-size 10G --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 1s --low-level-retries 2 --cache-dir rclone.cache --log-file rclone.log +#rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 60s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode writes --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G --buffer-size 64M --vfs-cache-max-age 1h --vfs-cache-max-size 10G --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 10s --low-level-retries 2 --cache-dir rclone.cache --log-file rclone.log +rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 60s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode off --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 10s --low-level-retries 2 --log-file rclone.log echo "mount ok" interface=$(ip route show | grep default | awk '{print $5}')