Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
7a0d73ad
Commit
7a0d73ad
authored
Mar 13, 2012
by
Tails developers
Browse files
Merge branch 'feature/iceweasel_start' into devel
parents
d35e3888
df63ebd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/etc/NetworkManager/dispatcher.d/60-iceweasel.sh
0 → 100755
View file @
7a0d73ad
#! /bin/sh
# Run only when the interface is not "lo":
if
[
$1
=
"lo"
]
;
then
exit
0
fi
# Run whenever an interface gets "up", not otherwise:
if
[
$2
!=
"up"
]
;
then
exit
0
fi
# There's nothing to do if Iceweasel is already running
if
pidof firefox-bin 1>/dev/null 2>&1
;
then
exit
0
fi
# Get LIVE_USERNAME
.
/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 &
config/chroot_local-includes/etc/xdg/autostart/iceweasel.desktop
deleted
120000 → 0
View file @
d35e3888
/usr/share/applications/iceweasel.desktop
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment