Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
463388f4
Commit
463388f4
authored
Feb 18, 2014
by
Tails developers
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for Tor to have fully bootstrapped before checking for upgrades (partly closes:
#6728
).
parent
513eff19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
config/chroot_local-includes/usr/local/bin/tails-upgrade-frontend-wrapper
...cal-includes/usr/local/bin/tails-upgrade-frontend-wrapper
+2
-7
No files found.
config/chroot_local-includes/usr/local/bin/tails-upgrade-frontend-wrapper
View file @
463388f4
...
...
@@ -60,15 +60,10 @@ See https://tails.boum.org/doc/first_steps/upgrade#manual\"`"
### Main
# wait for the $TORDATE_DIR directory to appear
while
[
!
-d
"
$TORDATE_DIR
"
]
;
do
while
!
sudo
-n
-u
debian-tor /usr/local/sbin/tor-has-bootstrapped
;
do
sleep
10
done
# wait for a guarantee that time is in Tor valid range
while
!
[
-e
"
$TORDATE_DONE_FILE
"
]
;
do
inotifywait
-q
-t
"
$INOTIFY_TIMEOUT
"
-e
create
--format
%w%f
"
$TORDATE_DIR
"
done
check_free_memory
"
$MIN_MEMFREE
"
"
$MIN_TOTAL_MEMFREE
"
...
...
Administrator
@root
mentioned in commit
3f2a7ae9
·
May 19, 2020
mentioned in commit
3f2a7ae9
mentioned in commit 3f2a7ae9a073246aa3a6d0ba26b239646ccd02b7
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment