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

24 lines
316 B
Plaintext
Raw Normal View History

2011-02-16 14:27:20 +01: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 $?
}