~ubuntu-branches/debian/jessie/hplip/jessie

« back to all changes in this revision

Viewing changes to data/rules/56-hpmud_sysfs.rules

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-06-15 16:42:46 UTC
  • mfrom: (1.8.1) (45.1.5 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20140615164246-v3cp72l3lm9fpiqx
Tags: 3.14.6-1
* New upstream release
  - Fixed Device Communication Error on launching HP Device Manager
  - Unable to add/remove file in 'hp-sendfax' wizard
  - Fax cover page does not get changed after changing recipient second time
  - Improved scan performance for 'hp-scan' utility
  - Fixes "hplip is outdated in jessie : please upgrade" (Closes: #748132)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading HP Device $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/python hp-config_usb_printer %c '"
16
16
 
17
17
# This rule will add the printer and install plugin
18
 
ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi'"
 
18
ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi &'"
19
19
 
20
20
# If sane-bankends is installed add hpaio backend support to dll.conf if needed.
21
21
ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio /etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ /etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 ];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"