Fix asterisk group change
This commit is contained in:
parent
75bfc960b7
commit
cb7e84e6fe
|
@ -76,7 +76,8 @@ define Package/$(PKG_NAME)/postinst
|
|||
if [ -n "$${IPKG_INSTROOT}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
usermod -a -G audio,dialout asterisk
|
||||
# Add asterisk user to audio and dialout groups
|
||||
sed -i -E 's/((audio|dialout):x:[0-9+]:)/\1asterisk/' /etc/group
|
||||
endef
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user