# oem-config
#
# start oem-config

start on runlevel 2

script

	/etc/init.d/oem-config start

	# The lateboot cmds may need some setup after user config
	# has completed 
	if [ -x /usr/sbin/lateboot-setup ]; then
		/usr/sbin/lateboot-setup
	fi

	# Now that oem-config has completed, we enable gdm's upstart
	# task for subsequent boots (disabled by oem-config-prepare)
	# and then manually start gdm.
	if [ -e /etc/disabled-event.d/gdm ]; then
		update-upstart enable gdm
		start gdm
	fi

end script

