I’m trying to make a script that uses rclone to mount my cloud storage, and for some reason, the file only works when I run it manually. The file contents are:
#!/bin/bash
rclone mount --daemon gdrive: /home/user/gdrive
rclone mount --daemon oneDrive: /home/user/OneDrive
Of course, I have used ‘chmod +x [filename]’, as I am able to execute the file manually. It’s worth noting that I had a script very similar to this which worked, that I ended up changing, as I edited “oneDrive” from “drive”, and now the autostart script does not work. I’ve tried to simply make a new .sh file, with a different name, to no avail.