Commit 5f09d90b authored by Tails developers's avatar Tails developers
Browse files

Merge branch 'feature/iceweasel_start' into devel

parents f18a25b1 fd2f6e5d
......@@ -11,7 +11,7 @@ if [ $2 != "up" ]; then
# There's nothing to do if Iceweasel is already running
if pidof firefox-bin 1>/dev/null 2>&1; then
if pgrep -u "${LIVE_USERNAME}" firefox-bin 1>/dev/null 2>&1; then
exit 0
......@@ -19,4 +19,4 @@ fi
. /etc/live/config.d/username
export DISPLAY=':0.0'
export XAUTHORITY="`echo /var/run/gdm3/auth-for-${LIVE_USERNAME}-*/database`"
exec /bin/su -c iceweasel &
exec /bin/su -c iceweasel "${LIVE_USERNAME}" &
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