[sane-devel] Sane and scanbd

Mikhail Novosyolov m.novosyolov at rosalinux.ru
Tue Aug 27 00:33:10 BST 2019



23 августа 2019 г. 4:56:34 GMT+03:00, Brian <bcdown84 at gmail.com> пишет:
>Hello,
>
>If there are any contributors to the project here, firstly I would like
>to say thanks! 
>
>I hope someone can help with my problem…
>
>When I setup scanbd to run a script with the following command, the
>scanner isn’t found:
>
>SCAN.SH
>---
>sh /home/pi/scripts/scanconvert.sh &
>---
>
>When I run SCAN.SH myself – no problem.  
>
>If I put the commands from scanconvert.sh into scan.sh – no problem
>
>As soon as I pass the job of scanning to the background task using &,
>the scanimage command can’t see the scanner.  
>
>Thank you,
>Brian

I did not understand the problem, but are you sure that scanconvert.sh is compatible with POSIX shell and has no bashisms? /bin/sh is not bash in Debian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20190827/951305fb/attachment.html>


More information about the sane-devel mailing list