diff --git a/docker-entry.sh b/docker-entry.sh index 7eac9cc..5676530 100644 --- a/docker-entry.sh +++ b/docker-entry.sh @@ -1,4 +1,4 @@ -#!/bin/ash +#!/bin/bash # Ensures that configuration files for both SnapRAID and snapraid-runner are present # in /config. In reality, both files should be edited manually before running this # container to ensure correct operation. @@ -18,7 +18,7 @@ if [ ! -f /config/snapraid-runner.conf ]; then exit 1 fi -# test if link is made between /etc/snapraid.conf and /config/snapraid.conf, make if not +# test if link is made between /etc/snapraid.conf and /config/snapraid.conf, make if not if [ ! -L /etc/snapraid.conf ]; then ln -s /config/snapraid.conf /etc/snapraid.conf fi