asterisk-alpine/asterisk.pre-upgrade

9 lines
219 B
Bash

#!/bin/sh
addgroup -S asterisk 2>/dev/null
adduser -S -D -h /var/lib/asterisk -s /sbin/nologin -G asterisk -g asterisk asterisk 2>/dev/null
addgroup -S dialout 2>/dev/null
addgroup asterisk dialout 2>/dev/null
exit 0