The actual initscript is etc/init.d/kdm-trinity {start|stop|restart|reload|force-reload} (Irritatingly, no "status" option).. sysv-rc-conf --list is just a way to identify it properly and if it's active in any runlevel
EDIT: Another way:
- Code: Select all
if ls (/)etc/rc*.d|grep kdm-trinity|grep ^S ; then
dm="kdm-trinity"
else
# is official kde (4x) KDM
dm="kdm"
fi
(R14 testing versions): ps -C output is "tdm"
The actual initscript is etc/init.d/tdm-trinity {start|stop|restart|reload|force-reload}