Fix tdm start failure on Debian

This closes Bug 928
Thanks to Slávek Banko for the patch!
(cherry picked from commit 112314397b)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 67b7dfcde5
commit 968fa17860

@ -3,8 +3,8 @@
# Provides: x-display-manager kdm-trinity
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: console-screen
# Should-Stop: console-screen
# Should-Start: console-screen kbd acpid hal krb5-kdc nis
# Should-Stop: console-screen kbd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: X display manager for Trinity

@ -123,7 +123,11 @@ case "$1" in
esac
if [ -x "/etc/init.d/kdm-trinity" ]; then
update-rc.d kdm-trinity defaults 13 01 >/dev/null
if [ -x "`which insserv 2>/dev/null`" ]; then
insserv kdm-trinity >/dev/null
else
update-rc.d kdm-trinity defaults 13 01 >/dev/null
fi
fi
if [ -n "$NOSTART" ]; then

@ -3,8 +3,8 @@
# Provides: x-display-manager kdm-trinity
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: console-screen
# Should-Stop: console-screen
# Should-Start: console-screen kbd acpid hal krb5-kdc nis
# Should-Stop: console-screen kbd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: X display manager for Trinity

@ -123,7 +123,11 @@ case "$1" in
esac
if [ -x "/etc/init.d/kdm-trinity" ]; then
update-rc.d kdm-trinity defaults 13 01 >/dev/null
if [ -x "`which insserv 2>/dev/null`" ]; then
insserv kdm-trinity >/dev/null
else
update-rc.d kdm-trinity defaults 13 01 >/dev/null
fi
fi
if [ -n "$NOSTART" ]; then

Loading…
Cancel
Save