summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/bin/tails-documentation
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/local/bin/tails-documentation')
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/tails-documentation5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/tails-documentation b/config/chroot_local-includes/usr/local/bin/tails-documentation
index 36932d0..6a99cb6 100755
--- a/config/chroot_local-includes/usr/local/bin/tails-documentation
+++ b/config/chroot_local-includes/usr/local/bin/tails-documentation
@@ -17,4 +17,9 @@ else
FILE="${PAGE}.html"
fi
+if [ -n "${2}" ]; then
+ FILE="${FILE}#${2}"
+fi
+
+export TOR_BROWSER_SKIP_OFFLINE_WARNING=yes
exec /usr/local/bin/tor-browser "file://${WIKI_ROOT}/${FILE}"