mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
addig rclone verification step
This commit is contained in:
@@ -1 +1,12 @@
|
|||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
|
|
||||||
|
function verify_configuration () {
|
||||||
|
echo "Verifying rlcone configuration..."
|
||||||
|
if ! rclone lsd "$RCLONE_DRIVE": | grep -q "$RCLONE_PATH"
|
||||||
|
then
|
||||||
|
echo "STOP: Could not find the $RCLONE_DRIVE:$RCLONE_PATH"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
verify_configuration
|
||||||
Reference in New Issue
Block a user