void-packages/srcpkgs/gdm/files/gdm.rc
2011-03-12 17:09:25 +01:00

22 lines
264 B
Text

#!/sbin/runscript
command=/usr/sbin/gdm-binary
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 $?
}