app-laptop/samsung-tools: use #!/sbin/openrc-run instead of #!/sbin/runscript
[gentoo.git] / app-laptop / samsung-tools / files / samsung-tools.init
1 #!/sbin/openrc-run
2 # Copyright 1999-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Id$
5
6 depend() {
7         need dbus
8 }
9
10 start() {
11         ebegin "Setting up samsung-tools"
12         dbus-send --system --print-reply=literal --dest='org.voria.SamsungTools.System' \
13                 '/' org.voria.SamsungTools.System.SetInitialDevicesStatus
14         eend $?
15 }