Docker-cups/docker-entrypoint.sh
2022-07-10 16:53:36 +02:00

10 lines
170 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
exec "$@"