Skip to content

Commit

Permalink
busybox compatibility, revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrupf committed Dec 9, 2024
1 parent 079f310 commit 8bcbaef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ if [ -z "${LOG_LEVEL}" ]; then
LOG_LEVEL=0
else
# confirm log level is between 0-3, since these are the only log levels supported
if [[ $LOG_LEVEL != [0123] ]]; then
if expr "${LOG_LEVEL}" : [^0123] > /dev/null; then
# level outside of supported range, let's set to default (0)
LOG_LEVEL=0
fi
fi

IFS=", "
set -f
IFS=","
for N in $NTP_SERVERS; do
# strip any quotes found before or after ntp server
N_CLEANED=${N//\"}
Expand Down

0 comments on commit 8bcbaef

Please sign in to comment.