Commit 90224433 authored by Tails developers's avatar Tails developers

Unsafe Browser: delete proxy settings in all Iceweasel pref files.

They have just moved to 000-tor-browser.js. I don't want to have to adapt this
script every time it happens.
parent 405b2264
......@@ -160,8 +160,8 @@ configure_chroot () {
chroot ${CHROOT} apt-get remove --yes xul-ext-*
# Disable proxying in the chroot
sed -i '/^user_pref("network\.proxy\..*",/d' \
${CHROOT}/etc/iceweasel/profile/user.js
sed -r -i '/^(user_|)pref\("network\.proxy\..*",/d' \
${CHROOT}/etc/iceweasel/*/*.js
echo 'user_pref("network.proxy.type", 0);' >> \
${CHROOT}/etc/iceweasel/profile/user.js
rm -rf ${CHROOT}/etc/iceweasel/profile/extensions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment