2011-02-16 13:27:20 +00:00
|
|
|
#!/sbin/runscript
|
|
|
|
|
|
|
|
command=/usr/bin/lightdm
|
|
|
|
name="Light Display Manager"
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
need dbus localmount
|
|
|
|
}
|
2011-02-16 15:47:29 +00: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 $?
|
|
|
|
}
|