On lmde (at least since u4 rc), typically boot pauses for a few seconds on starting cups. This I found rather annoying, being that I am booting on SSD. This also seems a known issue upstream in Debian.
I did a quick hack to solve this annoyance. I enclosed most of the /etc/init.d/cups "start" code in a () & block, hence letting it fork off and finish starting while init continues to the dm. This worked great, and got me back to a ssd that boots quick again...
case "$1" in
start)
log_begin_msg "Starting $DESC: $NAME"
( mkdir -p `dirname "$PIDFILE"`
if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
-a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe ]; then
modprobe -q -b lp || true
modprobe -q -b ppdev || true
modprobe -q -b parport_pc || true
fi
start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON && success=1
coldplug_usb_printers
restart_xprint
) &
log_end_msg $?
# restart_xprint
Of course it would be better to find a way to do this that would be more acceptable to upsteam, but for the moment this made my ssd boots fly again...


