summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/bin/end-profile
blob: 44e04faab1d261906499aa627e877e807627ce72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

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

sudo kill $(cat /boot-profile.pid)