1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/sysutils/scanbuttond/files/patch-scripts-initscanner.sh
Ion-Mihai Tetcu d8502e1999 This is the port of scanbuttond, an utility to monitor the various buttons
found on many modern scanners which are intended to trigger certain actions
like copying, faxing or mailing the scanned document.
This daemon queries the scanner button state several times per second via
libusb and if it detects that a button is pressed it runs a shell script with
the button number as an argument.

The supported scanner backends currently are: epson, niash, plustek, snapscan

Author:	Bernhard Stiftner <root84@users.sourceforge.net>
WWW:	http://scanbuttond.sourceforge.net/

PR:		ports/95386
Submitted by:	Daniel Thiele
Approvel by:	lawrance (mentor, implicit)
2006-06-06 18:06:50 +00:00

10 lines
230 B
Bash

--- scripts/initscanner.sh.orig Sat Jun 4 12:37:24 2005
+++ scripts/initscanner.sh Fri Mar 31 01:46:29 2006
@@ -9,5 +9,5 @@
# Example:
# scanimage -n
# or
-# sane-find-scanners
+# sane-find-scanner > /dev/null 2> /dev/null