Docker-cups/docker-entrypoint.sh
2022-07-10 18:17:25 +02:00

14 lines
343 B
Bash
Executable File

#!/bin/bash -e
echo -e "${ADMIN_PASSWORD}\n${ADMIN_PASSWORD}" | passwd admin
if [ ! -f /etc/cups/cupsd.conf ]; then
cp -rpn /etc/cups-skel/* /etc/cups/
fi
wget https://gdlp01.c-wss.com/gds/9/0100010919/01/cnijfilter2-6.10-1-deb.tar.gz -O canon.tar.gz && \
tar -xvf canon.tar.gz && \
cd cnijfilter2-6.10-1-deb/ && ./install.sh
exec "$@"