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