- Tell udevd to replay printer add events in the initscript.
This commit is contained in:
parent
d08cd1d6a2
commit
e65f66957f
@ -60,6 +60,13 @@ start () {
|
|||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL = 0 ] && touch /var/lock/subsys/cups
|
[ $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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
Summary: Common Unix Printing System
|
Summary: Common Unix Printing System
|
||||||
Name: cups
|
Name: cups
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 0.%{pre}.10%{?dist}
|
Release: 0.%{pre}.11%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2
|
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
|
%{php_extdir}/phpcups.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Applied patch to prevent bad job control files crashing cupsd on
|
||||||
start-up (STR #3253, bug #509741).
|
start-up (STR #3253, bug #509741).
|
||||||
|
Loading…
Reference in New Issue
Block a user