install: Add user to tty group

This commit is contained in:
Jordan Ruthe
2021-01-08 10:34:26 -05:00
parent 6e3965bf6c
commit ffb24a2ffd

View File

@@ -50,6 +50,11 @@ install_systemd_service()
sudo systemctl enable KlipperScreen
}
modify_user()
{
sudo usermod -a -G tty $USER
}
update_x11()
{
echo "Updating X11 configuration"
@@ -62,6 +67,7 @@ start_KlipperScreen() {
install_packages
create_virtualenv
modify_user
install_systemd_service
update_x11
start_KlipperScreen