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