From 40d24158b6dcc7c030bf98714fb736b3889d6add Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Mon, 20 Apr 2026 20:43:00 -0700 Subject: [PATCH] onboard-spoke.sh: add --allow-non-empty to rclone mount command to prevent mount failure after reboot --- hub/onboard-spoke.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/onboard-spoke.sh b/hub/onboard-spoke.sh index 6c63983..5242553 100755 --- a/hub/onboard-spoke.sh +++ b/hub/onboard-spoke.sh @@ -230,7 +230,7 @@ echo "${SPOKE_NAME} ${TUNNEL_PORT} ${KEY_PATH} ${MOUNT_POINT}" >> "$REGISTRY" info "$SPOKE_NAME registered." header "Setting Up Auto-Mount" -MOUNT_CMD="rclone mount ${SPOKE_NAME}-remote: ${MOUNT_POINT} --config ${HOME}/.config/rclone/rclone.conf --vfs-cache-mode writes --allow-other --daemon" +MOUNT_CMD="rclone mount ${SPOKE_NAME}-remote: ${MOUNT_POINT} --config ${HOME}/.config/rclone/rclone.conf --vfs-cache-mode writes --allow-other --allow-non-empty --daemon" CRON_ENTRY="@reboot ${MOUNT_CMD}" EXISTING=$(crontab -l 2>/dev/null || true) if echo "$EXISTING" | grep -qF "${SPOKE_NAME}-remote:"; then