Skip to content

Commit

Permalink
small fix for graphs1090 settings (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf authored Apr 14, 2024
1 parent c7bdaeb commit b7ad507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/s6-overlay/startup.d/08-graphs1090-init
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if [[ -n "${GRAPHS1090_SIZE}" ]] && [[ " small default large huge custom " =~ "
elif [[ -n "${GRAPHS1090_SIZE}" ]] && [[ ! " small default large huge custom " =~ " ${GRAPHS1090_SIZE} " ]]; then
echo "[$(date)][08-graphs1090] WARNING: GRAPHS1090_SIZE set to \"${GRAPHS1090_SIZE}\", which an invalid value!"
else
sed -i "s|all_large=.*|graph_size=default|g" /etc/default/graphs1090
sed -i "s|graph_size=.*|graph_size=default|g" /etc/default/graphs1090
fi

# Make the small graphs as large as the big ones by setting to `yes`
Expand Down

0 comments on commit b7ad507

Please sign in to comment.