~brian-murray/lightdm/bug-967229

« back to all changes in this revision

Viewing changes to utils/gdmflexiserver

  • Committer: robert.ancell at canonical
  • Date: 2011-02-12 00:48:57 UTC
  • Revision ID: robert.ancell@canonical.com-20110212004857-45gpv6k0m0uf0liv
Update changelog link

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# Copyright (C) 2011 Canonical Ltd
4
 
# Author: Michael Terry <michael.terry@canonical.com>
5
 
6
 
# This program is free software: you can redistribute it and/or modify it under
7
 
# the terms of the GNU General Public License as published by the Free Software
8
 
# Foundation, version 3 of the License.
9
 
#
10
 
# See http://www.gnu.org/copyleft/gpl.html for the full text of the license.
11
 
 
12
 
if [ -z "$XDG_SEAT_PATH" ]; then
13
 
  # something went wrong
14
 
  exit 1
15
 
fi
16
 
 
17
 
dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.DisplayManager $XDG_SEAT_PATH org.freedesktop.DisplayManager.Seat.SwitchToGreeter