From a6c14e1f2304544623efdfea6dca7e9656604efc Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Wed, 25 Sep 2024 21:57:18 +0200 Subject: [PATCH] Add possibility to override brscan-skey.config --- Dockerfile | 1 + files/brscan-skey.config | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 files/brscan-skey.config diff --git a/Dockerfile b/Dockerfile index 9017b4f..c441a30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ && \ diff --git a/files/brscan-skey.config b/files/brscan-skey.config new file mode 100644 index 0000000..ec298ea --- /dev/null +++ b/files/brscan-skey.config @@ -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=