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