mirror of
https://github.com/rclone/rclone.git
synced 2025-07-13 18:56:34 +02:00
Updated rclone fstab mount helper script (markdown)
@ -36,7 +36,13 @@ To enable mounting a volume using rclone via an entry in fstab the following hel
|
|||||||
# exec rclone
|
# exec rclone
|
||||||
trans="$trans $remote $mountpoint"
|
trans="$trans $remote $mountpoint"
|
||||||
PATH=$PATH rclone mount $trans &
|
PATH=$PATH rclone mount $trans &
|
||||||
sleep 5
|
|
||||||
|
out=`ls -l $dst`
|
||||||
|
until [ "$out" != 'total 0' ]; do
|
||||||
|
out=`ls -l $dst`
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
Then in `/etc/fstab` you can add something like:
|
Then in `/etc/fstab` you can add something like:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user