Commit 3f61b14f authored by Tails developers's avatar Tails developers Committed by Tails developers

Migrate tor-launcher to iceweasel --app

parent 614341e8
......@@ -31,8 +31,8 @@ done
# Launcher is still running, we can just kill it and make sure it
# won't start next network reconnect. A reason for this happening is
# if Tor was restarted by tordate, e.g. if the clock was to incorrect.
if pgrep -f "xulrunner.*tor-launcher-standalone"; then
pkill -f "xulrunner.*tor-launcher-standalone"
if pgrep -f "iceweasel --app.*tor-launcher-standalone"; then
pkill -f "iceweasel --app.*tor-launcher-standalone"
for p in /home/tor-launcher/.torproject/torlauncher/*.default/prefs.js; do
sed -i '/^user_pref("extensions.torlauncher.prompt_at_startup"/d' "${p}"
echo 'user_pref("extensions.torlauncher.prompt_at_startup", false);' >> "${p}"
......
......@@ -2,4 +2,4 @@
set -e
/usr/bin/xulrunner-24.0 /usr/share/tor-launcher-standalone/application.ini
/usr/bin/iceweasel --app /usr/share/tor-launcher-standalone/application.ini
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