2010-04-15 03:53:44 +02:00
|
|
|
#!/sbin/runscript
|
|
|
|
|
2011-03-12 17:09:25 +01:00
|
|
|
command=/usr/sbin/gdm-binary
|
2010-04-15 03:53:44 +02:00
|
|
|
|
|
|
|
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 $?
|
|
|
|
}
|