Add scripts/resetgui.sh

This commit is contained in:
2026-01-18 20:09:39 -05:00
parent b5b33b31c1
commit ca1986f076

9
scripts/resetgui.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
NO_FORMAT="\e[0m"
C_RED="\e[38;5;9m"
if [ "$UID" -ne 0 ]; then
echo -e "${C_RED}This script must be run as root.${NO_FORMAT}"
exit 1
fi
systemctl start backtotty &&
sh /opt/scripts/initialisegui.sh