diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2015-08-21 15:59:21 -0300 |
---|---|---|
committer | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2018-06-28 02:09:50 -0300 |
commit | e5d3422df7e0058dfc26695ba7b1e02a6ea2b84a (patch) | |
tree | 2916574328c16dc3c99e517d6ef0cf7b15d6e153 /utils/hplip/files | |
parent | b218acac6257da8c393bf2ea35de38ce791a9497 (diff) |
hplip: import from oldpackage and update to 3.18.6
hplip was split into subpackages:
* hplip-common: generic files
* hplip-sane: sane backend
- patched to remove cups deps used only for network scanners
* hplip-cups: cups driver (currently disabled)
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'utils/hplip/files')
-rw-r--r-- | utils/hplip/files/20-hplip | 20 | ||||
-rw-r--r-- | utils/hplip/files/hplib.conf | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/utils/hplip/files/20-hplip b/utils/hplip/files/20-hplip new file mode 100644 index 000000000..6066cc540 --- /dev/null +++ b/utils/hplip/files/20-hplip @@ -0,0 +1,20 @@ +#!/bin/sh + +# Copyright (C) 2009 OpenWrt.org + + +case "$ACTION" in + add) + # You have to figure out your PRODUCT id. Uncomment the line below, + # attach and detach your HP USB printer to find your id in /tmp/hplip.test. + # It will look like "Found 3f0/1717/100 on /proc/bus/usb/002/009" + # Replace 3f0/1717/100 below with your id. + # + # echo "Found $PRODUCT on $DEVICE" > /tmp/hplip.test + + [ "$PRODUCT" = "3f0/1717/100" ] && chown nobody $DEVICE && chmod 666 $DEVICE + ;; + remove) + # device is gone + ;; +esac diff --git a/utils/hplip/files/hplib.conf b/utils/hplip/files/hplib.conf new file mode 100644 index 000000000..d67d37053 --- /dev/null +++ b/utils/hplip/files/hplib.conf @@ -0,0 +1,2 @@ +# Load the hplib driver +hpaio |