diff --git a/src/freedombone-adduser b/src/freedombone-adduser index 76f21030..516e8c26 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -373,6 +373,11 @@ if [ -f /etc/nginx/.htpasswd ]; then fi fi +# add user to the sipwitch group +if [ -f /etc/sipwitch.conf ]; then + usermod -aG sipwitch $MY_USERNAME +fi + # add user menu on ssh login if ! grep -q 'control' /home/$MY_USERNAME/.bashrc; then echo 'control' >> /home/$MY_USERNAME/.bashrc