From ca1986f0764fdbba4cf21ed2187c3b64f8cdcf37 Mon Sep 17 00:00:00 2001 From: Franscobec Date: Sun, 18 Jan 2026 20:09:39 -0500 Subject: [PATCH] Add scripts/resetgui.sh --- scripts/resetgui.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/resetgui.sh diff --git a/scripts/resetgui.sh b/scripts/resetgui.sh new file mode 100644 index 0000000..f8958ff --- /dev/null +++ b/scripts/resetgui.sh @@ -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 \ No newline at end of file