diff --git a/install.py b/install.py index 5027db2..a03870c 100755 --- a/install.py +++ b/install.py @@ -218,7 +218,7 @@ def pip(): os.remove(tmpname) else: print(pipcmd) - unix_cmd(pipcmd, doit, stdout=None) + # unix_cmd(pipcmd, doit, stdout=None) show.dirty = True @@ -566,6 +566,8 @@ def handle_config(): if servicecfg and to_start.get('service') is None: to_start[service] = 'restart' + if 'dialout' not in unix_cmd('id l_samenv'): + do_cmd('usermod -a -G dialout l_samenv') pip() if reload_systemd: do_cmd('systemctl daemon-reload')