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.
Since I see that no one answers you, I will try to do it myself. First of all, it doesnât matter what the name of the ârcloneâ installation directory is, I havenât used âentwareâ in a long time because I prefer âdockerâ, but if you do, you will be able to install ârcloneâ in the â/optâ â directory.
Secondly, I have never used ârcloneâ but I am using ârsyncâ to make timed backups of the most important directories that I should not lose on my storage devices. How do I do this?: Itâs easy, (1) I prepare a script that will execute the directory backup task, (2) I modify my â/storage/.config/crontab.confâ file so that the ârsyncâ script task is run daily several times, and (3) I start the timed tasks from autostart.sh with the command âcrontab /storage/.config/crontab.confâ.
Hi, I can now mount it so next step is to autostart.sh on boot, any help on this, the link here Is it possible to create a symlink in /usr/bin? uses service file and place it in .config/system.d folder, is this right? Thank you.