If i run the script manually SSH once the system is already booted, it works perfectly every time.
my autostart.sh file is as follows:
./rclone mount GoogleDrive: /storage/drive/" > /storage/.config/autostart.sh
iv also tried some other recommendations looking around.
export HOME=/storage; sleep 30; ./rclone mount GoogleDrive: /storage/drive/
Why is the autostart.sh not enacting ? I do see as I increase the sleep duration, a longer pause occurs on the boot screen. Why is it then ,that the drive cannot mount unless done manually via SSH, once the device is already in kodi?
As I had mentioned, I have Rclone installed through following their documentation. I mounted my cloud google drive through their procedure. I copied rclone over to my local main drive directory, and am running the mount command from this default directory.
The issue originally was, when i reboot, id have to re imput the SSH command. This is when i figured to put the command in autostart.sh.
The command I have works perfectly once im already booted up and SSH’d into the box . It just wont enact in autostart.sh.
Im not sure exactly what the “full” path might be for rclone.
What would be the full path to /rclone/ ? simply : /rclone/ ?
Another thing, the echo line command you are using is very dangerous because it will erase the current autostart.sh content. Edit the file with the nano /storage/.config/autostart.sh command
Oh, are there default autostart functions that come with coreelec? I hadnt known this. The echo command was reccomended to me at a prior date on the forums.
After a clean installation of CoreELEC autostart.sh it is empty but as you enter commands this file will get bigger, mine has 1088 bytes and 23 command lines.