Deb: make easy-start script easier to modify

This commit is contained in:
Dmitry Maksyoma 2021-03-14 21:19:08 +13:00
parent d73ffc8a38
commit 2005b86a92

View File

@ -2,6 +2,10 @@
set -e
display=:10
interface=0.0.0.0
cert_group=ssl-cert
if [[ "$1" = "--help" ]]; then
cat >&2 <<-USAGE
Usage: `basename $0` [options]
@ -21,10 +25,6 @@ if [[ "$1" = "-kill" ]]; then
action=kill
fi
display=:10
interface=0.0.0.0
cert_group=ssl-cert
if groups | grep -qvw ssl-cert; then
cat <<-EOF
Can't access TLS certificate.