summarylogtreecommitdiffstats
path: root/unity-greeter-indicators-start
blob: f7233156195a8df51ded721fb58e9d3081192c9e (plain)
1
2
3
4
5
6
7
8
9
10
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