summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/bin/end-profile
diff options
context:
space:
mode:
authoramnesia <amnesia@boum.org>2010-10-03 12:44:22 +0200
committeramnesia <amnesia@boum.org>2010-10-03 12:44:22 +0200
commita0dca5fbdc6deb0ee1c09ad8f8c85f4bd17bb1ef (patch)
tree0968cd040bde0c5e63b20879eb4168716a2b997e /config/chroot_local-includes/usr/local/bin/end-profile
parentfb996be08a16b7b49cdb8bf28188f992a7f368dd (diff)
Autostart Iceweasel with the GNOME session.0.6-rc3
This workarounds the "Iceweasel 1st page is not loaded" bug.
Diffstat (limited to 'config/chroot_local-includes/usr/local/bin/end-profile')
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/end-profile9
1 files changed, 2 insertions, 7 deletions
diff --git a/config/chroot_local-includes/usr/local/bin/end-profile b/config/chroot_local-includes/usr/local/bin/end-profile
index 44e04fa..5e7f31a 100755
--- a/config/chroot_local-includes/usr/local/bin/end-profile
+++ b/config/chroot_local-includes/usr/local/bin/end-profile
@@ -4,12 +4,7 @@ set -e
test -e /boot-profile.pid || exit 0
-# Wait some time hoping Tor will have bootstrapped
-sleep 60
-
-iceweasel &
-
-# Wait some time hoping Iceweasel will be started
-sleep 30
+# Wait some time hoping Tor has bootstrapped and Iceweasel is started
+sleep 90
sudo kill $(cat /boot-profile.pid)