Skip to content

Commit

Permalink
Add possibility to override brscan-skey.config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropombeiro committed Sep 25, 2024
1 parent b9da64c commit a6c14e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN cd /tmp && \
rm -f /tmp/brscan4.deb /tmp/brscan-skey.deb

ADD files/runScanner.sh /opt/brother/runScanner.sh
ADD files/brscan-skey.config /opt/brother/scanner/brscan-skey/brscan-skey.config
COPY script /opt/brother/scanner/brscan-skey/script

RUN cp /etc/lighttpd/conf-available/05-auth.conf /etc/lighttpd/conf-enabled/ && \
Expand Down
8 changes: 8 additions & 0 deletions files/brscan-skey.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
password=
IMAGE="bash /opt/brother/scanner/brscan-skey/script/scantoimage.sh"
OCR="bash /opt/brother/scanner/brscan-skey/script/scantoocr.sh"
EMAIL="bash /opt/brother/scanner/brscan-skey/script/scantoemail.sh"
FILE="bash /opt/brother/scanner/brscan-skey/script/scantofile.sh"
SEMID=b
eth=
ip_address=

0 comments on commit a6c14e1

Please sign in to comment.