~michael-sheldon/ubuntu-touch-session/fix-1659388

« back to all changes in this revision

Viewing changes to ubuntu-touch-lightdm-session

  • Committer: Simon Fels
  • Date: 2016-01-14 12:32:31 UTC
  • mto: This revision was merged to the branch mainline in revision 277.
  • Revision ID: simon.fels@canonical.com-20160114123231-7ecvtue39tf08eaq
Load Droid discovery module rather than the card one

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# /usr/sbin/lightdm-session is very X specific.  We don't want it for Ubuntu
 
4
# Touch's Mir sessions.  So determine if we are running Mir or X and do the
 
5
# right thing.  Ideally LightDM would do this for us, but in the meantime...
 
6
 
 
7
if [ -n "$MIR_SOCKET" ]; then
 
8
    exec $@
 
9
else
 
10
    exec /usr/sbin/lightdm-session $@
 
11
fi