[Pkg-cups-devel] r314 - cupsys/branches/cups-1.2/debian

Martin Pitt mpitt at costa.debian.org
Mon Jul 24 07:44:46 UTC 2006


Author: mpitt
Date: Mon Jul 24 07:44:44 2006
New Revision: 314

Modified:
   cupsys/branches/cups-1.2/debian/changelog
   cupsys/branches/cups-1.2/debian/cupsys.init.d

Log:
* debian/cupsys.init.d: If lp module loading is requested, also load the
  'ppdev' module to fix the name and model detection of parallel printers on
  newer kernels.

Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog	(original)
+++ cupsys/branches/cups-1.2/debian/changelog	Mon Jul 24 07:44:44 2006
@@ -7,8 +7,11 @@
 
   [ Martin Pitt ]
   * Adapt patches to new upstream version.
+  * debian/cupsys.init.d: If lp module loading is requested, also load the
+    'ppdev' module to fix the name and model detection of parallel printers on
+    newer kernels.
 
- -- Kenshi Muto <kmuto at debian.org>  Fri, 21 Jul 2006 18:43:59 +0200
+ -- Kenshi Muto <kmuto at debian.org>  Mon, 24 Jul 2006 09:44:00 +0200
 
 cupsys (1.2.1-4) unstable; urgency=medium
 

Modified: cupsys/branches/cups-1.2/debian/cupsys.init.d
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.init.d	(original)
+++ cupsys/branches/cups-1.2/debian/cupsys.init.d	Mon Jul 24 07:44:44 2006
@@ -33,6 +33,7 @@
 	if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
              -a -f /proc/devices -a -z "$(grep -e ' lp$' /proc/devices 2>/dev/null)" ]; then
 	  modprobe -q lp || true
+	  modprobe -q ppdev || true
 	fi
 	start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON
 	log_end_msg $?



More information about the Pkg-cups-devel mailing list