mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
17 lines
300 B
Text
17 lines
300 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
configure)
|
||
|
if ! getent passwd coredns > /dev/null; then
|
||
|
adduser --system --disabled-password --disabled-login --home /var/lib/coredns \
|
||
|
--quiet --force-badname --group coredns
|
||
|
fi
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
exit 0
|