1 2 3 4 5 6
#!/bin/sh addgroup -S motion 2>/dev/null adduser -S -h /home/motion -s /bin/false -G motion -D motion 2>/dev/null addgroup motion video exit 0