mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/include/shutil:
- 1 second should be long enough for finding metadata
This commit is contained in:
parent
a91fedd4d1
commit
4166c5e8d4
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ byobu (5.44) unreleased; urgency=low
|
|||
|
||||
* usr/lib/byobu/wifi_quality:
|
||||
- minor fix for wifi quality printing, sometimes = and sometimes :
|
||||
* usr/lib/byobu/include/shutil:
|
||||
- 1 second should be long enough for finding metadata
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Jun 2013 00:15:10 -0500
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ metadata_available() {
|
|||
# Must seed the cache
|
||||
if [ -e /etc/ec2_version ] || [ -e /usr/sbin/update-grub-legacy-ec2 ]; then
|
||||
# This *looks* like a machine with metadata, so background a potentially slow check
|
||||
wget -q -O "$cache" --timeout=10 --tries=1 http://169.254.169.254 2>/dev/null &
|
||||
wget -q -O "$cache" --timeout=1 --tries=1 http://169.254.169.254 2>/dev/null &
|
||||
sleep 0.02
|
||||
[ -s "$cache" ] && x=1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue