- Tell udevd to replay printer add events in the initscript.

This commit is contained in:
Tim Waugh 2009-07-24 12:22:35 +00:00
parent d08cd1d6a2
commit e65f66957f
2 changed files with 11 additions and 1 deletions

View File

@ -60,6 +60,13 @@ start () {
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/cups
udevadm trigger --subsystem-match=usb \
--attr-match=bInterfaceClass=07 \
--attr-match=bInterfaceSubClass=01 &>/dev/null || :
udevadm trigger --subsystem-match=usb \
--property-match=DEVNAME="/dev/usb/lp*" &>/dev/null || :
return 0
}

View File

@ -10,7 +10,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.4
Release: 0.%{pre}.10%{?dist}
Release: 0.%{pre}.11%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2
@ -503,6 +503,9 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so
%changelog
* Fri Jul 24 2009 Tim Waugh <twaugh@redhat.com> 1:1.4-0.rc1.11
- Tell udevd to replay printer add events in the initscript.
* Wed Jul 15 2009 Tim Waugh <twaugh@redhat.com> 1:1.4-0.rc1.10
- Applied patch to prevent bad job control files crashing cupsd on
start-up (STR #3253, bug #509741).