Skip to content

Commit

Permalink
test: adds date information to debug date issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sytone committed Mar 24, 2022
1 parent 279d698 commit 9fc1163
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions root/etc/cont-init.d/50-config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ if [ ! -d /vaults ]; then
mkdir -p /vaults;
fi

echo "********************************"
echo "**** Start Date Information ****"
echo "TZ: ${TZ}"
echo "Date UTC"
date --utc
echo "Date Local"
date
echo "Zone Info"
zdump /usr/share/zoneinfo/${TZ}
echo "Time Zone Offsets"
zdump -v /etc/localtime
echo "**** End Date Information ****"
echo "********************************"

# permissions
chown -R abc:abc \
/config \
Expand Down

0 comments on commit 9fc1163

Please sign in to comment.