Specify udevadm trigger action in initscript (bug #623959).
This commit is contained in:
parent
09ebecefb8
commit
6729d05bcd
12
cups.init
12
cups.init
@ -74,11 +74,13 @@ start () {
|
||||
echo
|
||||
[ $RETVAL = 0 ] && touch $lockfile
|
||||
|
||||
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 || :
|
||||
udevadm trigger --subsystem-match=usb \
|
||||
--attr-match=bInterfaceClass=07 \
|
||||
--attr-match=bInterfaceSubClass=01 \
|
||||
--action=add &>/dev/null || :
|
||||
udevadm trigger --subsystem-match=usb \
|
||||
--property-match=DEVNAME="/dev/usb/lp*" \
|
||||
--action=add &>/dev/null || :
|
||||
|
||||
return 0
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.4.4
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||
@ -578,7 +578,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{php_extdir}/phpcups.so
|
||||
|
||||
%changelog
|
||||
* Tue Aug 3 2010 Tim Waugh <twaugh@redhat.com>
|
||||
* Tue Aug 3 2010 Tim Waugh <twaugh@redhat.com> 1:1.4.4-6
|
||||
- Specify udevadm trigger action in initscript (bug #623959).
|
||||
- Build requires gnutls-devel not openssl-devel.
|
||||
|
||||
* Mon Jun 28 2010 Tim Waugh <twaugh@redhat.com> 1:1.4.4-5
|
||||
|
Loading…
Reference in New Issue
Block a user