1 2 3 4 5
#!/bin/sh groupadd tvheadend 2>/dev/null adduser -H -h /home/tvheadend -g tvheadend -D -s /bin/false tvheadend 2>/dev/null gpasswd -a tvheadend video 2>/dev/null exit 0