1 diff -Naur usr.old/local/Brother/Printer/dcp560cn/cupswrapper/cupswrapperdcp560cn usr/local/Brother/Printer/dcp560cn/cupswrapper/cupswrapperdcp560cn
2 --- usr.old/local/Brother/Printer/dcp560cn/cupswrapper/cupswrapperdcp560cn 2010-04-13 20:08:50.211208593 +0200
3 +++ usr/local/Brother/Printer/dcp560cn/cupswrapper/cupswrapperdcp560cn 2010-04-13 19:59:19.164599589 +0200
5 rm -f /usr/lib/cups/filter/brlpdwrapper${printer_model}
6 rm -f /usr/lib64/cups/filter/brlpdwrapper${printer_model}
7 rm -f /usr/local/Brother/${device_model}/${printer_model}/cupswrapper/brcupsconfpt1
8 -if [ -e /etc/init.d/cups ]; then
9 - /etc/init.d/cups restart
10 -elif [ -e /etc/init.d/cupsys ]; then
11 - /etc/init.d/cupsys restart
12 +if [ -e /etc/rc.d/cups ]; then
13 + /etc/rc.d/cups restart
14 +elif [ -e /etc/rc.d/cupsys ]; then
15 + /etc/rc.d/cupsys restart
17 -# /etc/init.d/cups restart
18 +# /etc/rc.d/cups restart
21 if [ "$1" = "-r" ]; then
22 lpadmin -x ${printer_name}
23 -if [ -e /etc/init.d/cups ]; then
24 - /etc/init.d/cups restart
25 -elif [ -e /etc/init.d/cupsys ]; then
26 - /etc/init.d/cupsys restart
27 +if [ -e /etc/rc.d/cups ]; then
28 + /etc/rc.d/cups restart
29 +elif [ -e /etc/rc.d/cupsys ]; then
30 + /etc/rc.d/cupsys restart
32 -# /etc/init.d/cups restart
33 +# /etc/rc.d/cups restart
36 if [ "$1" = "help" ] || [ "$1" = "-h" ]; then
39 chmod a+w /usr/local/Brother/${device_model}/${printer_model}/inf/br${printer_model}rc
40 chmod a+w /usr/local/Brother/${device_model}/${printer_model}/inf
41 -if [ -e /etc/init.d/lpd ]; then
42 - /etc/init.d/lpd stop
43 +if [ -e /etc/rc.d/lpd ]; then
46 -if [ -e /etc/init.d/lprng ]; then
47 - /etc/init.d/lprng stop
48 +if [ -e /etc/rc.d/lprng ]; then
49 + /etc/rc.d/lprng stop
53 -if [ -e /etc/init.d/cups ]; then
54 - /etc/init.d/cups restart
55 -elif [ -e /etc/init.d/cupsys ]; then
56 - /etc/init.d/cupsys restart
57 +if [ -e /etc/rc.d/cups ]; then
58 + /etc/rc.d/cups restart
59 +elif [ -e /etc/rc.d/cupsys ]; then
60 + /etc/rc.d/cupsys restart
64 diff -Naur usr.old/local/Brother/Printer/dcp560cn/inf/setupPrintcapij usr/local/Brother/Printer/dcp560cn/inf/setupPrintcapij
65 --- usr.old/local/Brother/Printer/dcp560cn/inf/setupPrintcapij 2010-04-13 20:08:50.214959736 +0200
66 +++ usr/local/Brother/Printer/dcp560cn/inf/setupPrintcapij 2010-04-13 19:59:56.077929516 +0200
70 BRPRINTER_NAME=`echo $BRPRINTER_MODEL | tr '[a-z]' '[A-Z]'`
71 -PRINTCAP_NAME=/etc/printcap.local
72 +PRINTCAP_NAME=/etc/printcap
73 SPOOLER_NAME=/var/spool/lpd/$BRPRINTER_MODEL
75 DEVICE_IF=/dev/usb/lp0