Rclone - How to mount google drive on boot?

Hi,

I'm using rclone to access my google drive folders from my router, I can mount my GD to my router's directory just fine with this command rclone mount --daemon GD: /mnt/GD

When I use that command as a crontab, the crontab line of that command always gets removed after every reboot and then my crontab is empty, here's my crontab configuration:

@reboot /usr/bin/rclone mount --daemon GD: /mnt/GD

My only question is how do I mount my Google Drive account successfully on every boot ?

Try your local start up script.

1 Like

putting that command in /etc/rc.local still doesn't mount the google drive

Try adding a sleep, it might be a race condition.

Although @reboot is not working in OpenWrt, are you certain that you don't have any other issues causing the removal of the entry? Some read-only filesystem for example?

How do I detect if my partitions are read-only ?

Issue a mount from terminal.