path: root/config/chroot_local-includes/usr/local/sbin/unsafe-browser
diff options
authoranonym <>2016-08-27 20:14:36 +0200
committeranonym <>2016-08-27 20:14:36 +0200
commitd23f8f2ce1d76f5c410e429fd866328d79e8e65e (patch)
tree38b650ff66ebf5471b1c606180179b10caa603cb /config/chroot_local-includes/usr/local/sbin/unsafe-browser
parent6507cc58f24dd2d98899a1e88a2e92e97fbb1c4c (diff)
WIP: making chroot browser accessible.wip/feature-stretch-chroot-accessibility
Currently gedit is started inside the chroot instead of the browser, and it is accessible! So, if I change from gedit to the browser, why is the browser not accessible?
Diffstat (limited to 'config/chroot_local-includes/usr/local/sbin/unsafe-browser')
1 files changed, 5 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/local/sbin/unsafe-browser b/config/chroot_local-includes/usr/local/sbin/unsafe-browser
index 81211f2..272b8b9 100755
--- a/config/chroot_local-includes/usr/local/sbin/unsafe-browser
+++ b/config/chroot_local-includes/usr/local/sbin/unsafe-browser
@@ -110,6 +110,7 @@ fi
# FIXME: Or would it make sense to fallback to Google's DNS or OpenDNS?
# Some stupid captive portals may allow DNS to any host, but chances are
# that only the portal's DNS would forward to the login page.
if [ -z "${IP4_NAMESERVERS:-}" ]; then
error "`gettext \"No DNS server was obtained through DHCP or manually configured in NetworkManager.\"`"
@@ -127,6 +128,9 @@ configure_chroot_browser "${CHROOT}" "${BROWSER_USER}" "${BROWSER_NAME}" \
"${TBB_EXT}"/langpack-*.xpi || \
error "`gettext \"Failed to configure browser.\"`"
+#echo XXX
+#read A
echo "* Starting Unsafe Browser"
run_browser_in_chroot "${CHROOT}" "${BROWSER_NAME}" "${BROWSER_USER}" \
"${SUDO_USER}" || \
@@ -134,6 +138,6 @@ run_browser_in_chroot "${CHROOT}" "${BROWSER_NAME}" "${BROWSER_USER}" \
echo "* Exiting the Unsafe Browser"
exit 0