diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index 16c41e2c..117324e5 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -116,6 +116,10 @@ start_KlipperScreen() sudo systemctl start KlipperScreen } +if [ "$EUID" == 0 ] + then echo_error "Plaease do not run this script as root" + exit +fi install_packages create_virtualenv modify_user