#! /bin/sh

sync

gdmflexiserver --command="UPDATE_CONFIG daemon/AutomaticLogin"
gdmflexiserver --command="UPDATE_CONFIG daemon/DefaultSession"
gdmflexiserver --command="UPDATE_CONFIG daemon/SessionDesktopDir"
gdmflexiserver --command="UPDATE_CONFIG daemon/DisplayInitDir"
gdmflexiserver --command="UPDATE_CONFIG daemon/AutomaticLoginEnable"

gdmflexiserver --command="UPDATE_CONFIG greeter/ShowLastSession"
gdmflexiserver --command="UPDATE_CONFIG greeter/ShowGnomeFailsafeSession"
gdmflexiserver --command="UPDATE_CONFIG greeter/ShowXtermFailsafeSession"

if [ -x /etc/gdm/Init/Default ]; then
	/etc/gdm/Init/Default
fi
