Add scripts/resetgui.sh
This commit is contained in:
9
scripts/resetgui.sh
Normal file
9
scripts/resetgui.sh
Normal 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
|
||||||
Reference in New Issue
Block a user