1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh set -e case "$1" in install) if ! getent group netdata > /dev/null; then addgroup --quiet --system netdata fi ;; esac