Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
6a0170b8
Commit
6a0170b8
authored
Oct 26, 2015
by
kytv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the function name more closely match what it does
parent
dc8ab8dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
config/chroot_local-includes/usr/local/lib/tails-shell-library/i2p.sh
...t_local-includes/usr/local/lib/tails-shell-library/i2p.sh
+1
-1
config/chroot_local-includes/usr/local/sbin/tails-i2p
config/chroot_local-includes/usr/local/sbin/tails-i2p
+4
-4
No files found.
config/chroot_local-includes/usr/local/lib/tails-shell-library/i2p.sh
View file @
6a0170b8
...
...
@@ -40,7 +40,7 @@ i2p_reseed_completed() {
grep
-q
"Reseed complete"
"
${
I2P_WRAPPER_LOG
}
"
}
i2p_
has_bootstrapped
()
{
i2p_
built_a_tunnel
()
{
netstat
-nlp
|
grep
-qwF
"
$(
i2p_eep_proxy_address
)
"
}
...
...
config/chroot_local-includes/usr/local/sbin/tails-i2p
View file @
6a0170b8
...
...
@@ -15,7 +15,7 @@ export TEXTDOMAIN
# Import wait_until()
.
/usr/local/lib/tails-shell-library/common.sh
# Import i2p_
has_bootstrapped
, i2p_reseed_failed, i2p_router_console_is_ready(),
# Import i2p_
built_a_tunnel
, i2p_reseed_failed, i2p_router_console_is_ready(),
# and set_best_i2p_router_console_lang().
.
/usr/local/lib/tails-shell-library/i2p.sh
...
...
@@ -61,8 +61,8 @@ bootstrap_failure() {
exit
1
}
wait_until_i2p_
has_bootstrapped
()
{
wait_until
${
I2P_TUNNEL_BUILD_TIMEOUT
}
i2p_
has_bootstrapped
wait_until_i2p_
builds_a_tunnel
()
{
wait_until
${
I2P_TUNNEL_BUILD_TIMEOUT
}
i2p_
built_a_tunnel
}
notify_bootstrap_success
()
{
...
...
@@ -88,7 +88,7 @@ case "${1}" in
if
i2p_fails_to_bootstrap
;
then
bootstrap_failure
fi
wait_until_i2p_
has_bootstrapped
||
bootstrap_failure
wait_until_i2p_
builds_a_tunnel
||
bootstrap_failure
notify_bootstrap_success
;;
stop
)
...
...
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