diff options
Diffstat (limited to 'unity-greeter-indicators-start')
-rwxr-xr-x | unity-greeter-indicators-start | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/unity-greeter-indicators-start b/unity-greeter-indicators-start new file mode 100755 index 000000000000..f7233156195a --- /dev/null +++ b/unity-greeter-indicators-start @@ -0,0 +1,11 @@ +#!/bin/sh + +# Load each indicator in turn respecting unity-greeter's dconf setting # +# This is necessary since starting indicators via dbus has been deprecated in favour of using 'upstart' init system services # +for indicator in $(gsettings get com.canonical.unity-greeter indicators | \ + sed "s/,/\\n/g; s/[]\[']//g" | grep com.canonical | \ + sed "s/com.canonical.//g; s/\./-/g"); do + if [ -x /usr/lib/${indicator}/${indicator}-service ]; then + exec /usr/lib/${indicator}/${indicator}-service & + fi +done |