6b3e6dac34
--HG-- extra : convert_revision : 8738615e8737d4ef839dbcb9b0a5415192c1ba2d
22 lines
264 B
Text
22 lines
264 B
Text
#!/sbin/runscript
|
|
|
|
command=/usr/sbin/gdm-binary
|
|
|
|
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 $?
|
|
}
|