params="$params -P /var/run/minidlna/minidlna.pid"
- if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then
+ if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then
params="$params -R"
fi
params="$params -P /var/run/minidlna/minidlna.pid"
- if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then
+ if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then
params="$params -R"
fi
params="$params -P /run/minidlna/minidlna.pid"
- if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then
+ if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then
params="$params -R"
fi