summaryrefslogtreecommitdiff
path: root/sysutils/scanbuttond/files/patch-scripts-initscanner.sh
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 18:06:50 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 18:06:50 +0000
commitd8502e1999c3c4f7a04a951e426d3a583ceb8191 (patch)
tree1a026308768d7c97938bd98a1fea612d67da2396 /sysutils/scanbuttond/files/patch-scripts-initscanner.sh
parentUpgrade to 0.37 (diff)
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)
Notes
Notes: svn path=/head/; revision=164628
Diffstat (limited to 'sysutils/scanbuttond/files/patch-scripts-initscanner.sh')
-rw-r--r--sysutils/scanbuttond/files/patch-scripts-initscanner.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/scanbuttond/files/patch-scripts-initscanner.sh b/sysutils/scanbuttond/files/patch-scripts-initscanner.sh
new file mode 100644
index 000000000000..95a283aa366e
--- /dev/null
+++ b/sysutils/scanbuttond/files/patch-scripts-initscanner.sh
@@ -0,0 +1,9 @@
+--- 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
+