void-packages/srcpkgs/gdm/files/gdm.rc
Juan RP 0933fb5a74 gdm: make this work reliably now.
--HG--
branch : gnome3
2011-03-05 01:11:49 +01:00

22 lines
257 B
Text

#!/sbin/runscript
command=/usr/sbin/gdm
depend()
{
need dbus
}
start()
{
ebegin "Starting GDM"
start-stop-daemon --start --exec ${command} --background
eend $?
}
stop()
{
ebegin "Stopping GDM"
start-stop-daemon --stop --exec ${command}
eend $?
}