void-packages/srcpkgs/lightdm/files/lightdm.rc

24 lines
316 B
Text
Raw Normal View History

2011-02-16 13:27:20 +00:00
#!/sbin/runscript
command=/usr/bin/lightdm
name="Light Display Manager"
depend()
{
need dbus localmount
}
start()
{
ebegin "Starting ${name}"
start-stop-daemon --start --quiet --background --exec ${command}
eend $?
}
stop()
{
ebegin "Stopping ${name}"
start-stop-daemon --stop --exec ${command}
eend $?
}