12 hours ago12 hr root@Tower:~# cat /etc/rc.d/rc.local | grep rclone mkdir -p $CONFIG/rclone # Re-run rclone config setup after plugin install phase (plugins-nextboot may have added rclone). if [[ -x /usr/local/sbin/rclone_config_init ]]; then /usr/local/sbin/rclone_config_init "$CONFIG"Just want to confirm whether this is stock behaviour in v7.3.2, or if it was added by a plugin (or possibly something I modified myself and forgot about). Any info appreciated.
12 hours ago12 hr Community Expert 3 minutes ago, Solverz said:Just want to confirm whether this is stock behaviour in v7.3.2Yep
11 hours ago11 hr Author 17 minutes ago, JorgeB said:YepHmm okay, well the below is moving my config from /boot/config/rclone/rclone.conf to /boot/config/rclone/root/rclone.conf. Is there a reason for this? As every time I restart the server my config moves, which is not what I want. Maybe there is some history as to why this is done, that I am unaware of?rclone_config_init if [[ -f "$RCLONE_LEGACY_BOOT_CONFIG" ]]; then if mv "$RCLONE_LEGACY_BOOT_CONFIG" "$RCLONE_BOOT_CONFIG" 2>/dev/null; then return 0 fi log_issue "ERROR: failed to move legacy rclone config to $RCLONE_BOOT_CONFIG" return 1 fi
11 hours ago11 hr Community Expert IIRC, that was done because of this, but it should keep working if you are using the plugin:
11 hours ago11 hr Author 22 minutes ago, JorgeB said:IIRC, that was done because of this, but it should keep working if you are using the plugin:Ah I see. I am using rclone directly via a script. So looks like I will need to reference /boot/config/rclone/root/rclone.conf instead, due to this.Okay, thanks for the insight.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.