--- data/rules/55-hpmud.rules.orig 2010-12-28 14:22:21.000000000 +0100 +++ data/rules/55-hpmud.rules 2010-12-28 14:23:06.000000000 +0100 @@ -142,10 +142,4 @@ # Check for LaserJet products (0x03f0xx2a). SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", OWNER="root", GROUP="lp", MODE="660" -# Removed the following rule because FHS states that /etc should be reserved for static files only. This -# functionality should be done in a deb/rpm post install script. 2/11/2009, D Suffield -# -# If sane-bankends is installed add hpaio backend support to dll.conf if needed. -# 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'" - LABEL="hpmud_rules_end"