File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if [ -d /etc/update-motd.d ]; then
5757 # Run only if it's a regular file and executable
5858 if [ -f $part ] && [ -x $part ]; then
5959 TMPPART=$( mktemp --tmpdir motd.partXXXXX)
60- if (timeout 10s $part > $TMPPART ); then
60+ if (timeout 30s $part > $TMPPART ); then
6161 cat $TMPPART >> $TMPFILE
6262 fi
6363 rm -f $TMPPART
Original file line number Diff line number Diff line change 11%global _trivial .0
2- %global _buildid .1
2+ %global _buildid .2
33Name: update-motd
44Version: 1.1.2
55Release: 2%{?dist }%{?_trivial }%{?_buildid }
7575%ghost /var/lib/update-motd/motd
7676
7777%changelog
78+ * Mon Jun 07 2021 Sonia Xu <sonix@amazon.com> - 1.1.2-2.amzn2.0.2
79+ - Changed the timeout to 30 from 10 seconds in update-motd script
80+
7881* Tue Apr 20 2021 Sonia Xu <sonix@amazon.com> - 1.1.2-2.amzn2.0.1
7982- Changed the random delay to 24 hours from 6 hours
8083
You can’t perform that action at this time.
0 commit comments