Compare commits

..

2 Commits

Author SHA1 Message Date
cb7e84e6fe
Fix asterisk group change
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2023-01-18 13:01:34 +08:00
75bfc960b7
Re-add collectd-mod-sqm 2023-01-18 12:57:38 +08:00
2 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@ make image \
collectd-mod-nginx collectd-mod-ping \
collectd-mod-processes collectd-mod-protocols \
collectd-mod-sensors collectd-mod-smart \
collectd-mod-tcpconns \
collectd-mod-sqm collectd-mod-tcpconns \
collectd-mod-thermal collectd-mod-uptime \
collectd-mod-users collectd-mod-vmem \
collectd-mod-wireless \

View File

@ -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