#!/bin/sh

# Do we have gnome-volume-control?
# If so we should run it to load the gnome-volume-control settings
if command -v gnome-volume-control > /dev/null 2>&1; then
	gnome-volume-control -i
elif [ -x /usr/bin/gnome-volume-control ] ; then
	/usr/bin/gnome-volume-control -i
fi

# path takes precedence
exec gnome-session
exec /usr/bin/gnome-session
