source: packages/utils/hplip/files/20-hplip @ 20307

Last change on this file since 20307 was 20307, checked in by florian, 6 years ago

[package] update hplip to 3.9.12 (#6597)

File size: 667 bytes
Line 
1#!/bin/sh
2
3# Copyright (C) 2009 OpenWrt.org
4
5
6case "$ACTION" in
7        add)
8                # You have to figure out your PRODUCT id. Uncomment the line below,
9                # attach and detach your HP USB printer to find your id in /tmp/hplip.test.
10                # It will look like "Found 3f0/1717/100 on /proc/bus/usb/002/009"
11                # Replace 3f0/1717/100 below with your id.
12                #
13                # echo "Found $PRODUCT on $DEVICE" > /tmp/hplip.test
14
15                [ "$PRODUCT" = "3f0/1717/100" ] && chown nobody $DEVICE && chmod 666 $DEVICE
16                ;;
17        remove)
18                # device is gone
19                ;;
20esac
Note: See TracBrowser for help on using the repository browser.