# samsung-tools - Tools for Samsung laptops
#
# Set the initial status of devices on Samsung laptops
 
description     "Tools for Samsung laptops"
author          "Fortunato Ventre (voRia) - <vorione@gmail.com>"
 
start on (stopped rc and (started lightdm or started gdm or started kdm or started mdm))
 
task

script
	# Wait some time, just in case...
	sleep 3
	# Start the system service and set initial status for devices
	dbus-send --system --print-reply=literal --dest='org.voria.SamsungTools.System' \
	'/' org.voria.SamsungTools.System.SetInitialDevicesStatus
end script