1
description "Unity Greeter Session Broadcast Session Component"
2
author "Ted Gould <ted@canonical.com>"
6
#TODO: Check GSettings Key
7
start on dbus BUS=system SIGNAL="StartUrl" INTERFACE="com.canonical.Unity.Greeter.Broadcast" OBJPATH="/com/canonical/Unity/Greeter/Broadcast"
10
if [ -z $ARG0 ] ; then
14
if [ $ARG0 != $USER ] ; then
19
OWNER=`gdbus call --system --dest org.freedesktop.DBus --object-path / --method org.freedesktop.DBus.GetNameOwner com.canonical.Unity.Greeter.Broadcast | cut -d "'" -f 2`
21
if [ -z $OWNER ] ; then
25
if [ $OWNER != $SENDER ] ; then
31
exec url-dispatcher ${ARG1}