Skip to content

Commit 57b95d9

Browse files
committed
Add default healthchecks URL for backward compatibility
1 parent f830783 commit 57b95d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snapraid-aio-script.sh

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ CONFIG_FILE=$CURRENT_DIR/script-config.sh
2020
#shellcheck source=script-config.sh
2121
source "$CONFIG_FILE"
2222

23+
# set default variables for backward compatibility with older config files
24+
: ${HEALTHCHECKS_URL:="https://hc-ping.com/"}
25+
2326
########################################################################
2427

2528
SYNC_MARKER="SYNC -"

0 commit comments

Comments
 (0)