bda9b3a463
OBS-URL: https://build.opensuse.org/request/show/994320 OBS-URL: https://build.opensuse.org/package/show/devel:microos:containers/cups-image?expand=0&rev=1
13 lines
212 B
Bash
13 lines
212 B
Bash
#!/bin/bash -e
|
|
|
|
if [ -n "${ADMIN_PASSWORD}" ]; then
|
|
echo -e "${ADMIN_PASSWORD}\n${ADMIN_PASSWORD}" | passwd admin
|
|
fi
|
|
|
|
if [ ! -f /etc/cups/cupsd.conf ]; then
|
|
cp -rpn /etc/cups-skel/* /etc/cups/
|
|
fi
|
|
|
|
exec "$@"
|
|
|