Tyleo-Scripts/irp-ubuntu-pro

13 lines
379 B
Text
Raw Normal View History

2024-02-18 18:06:30 +00:00
echo "[apt] Updating Index ..."
sudo apt update &> /dev/null
echo "[apt] Updating System ..."
sudo apt upgrade -y &> /dev/null
echo "[apt] Installing/Checking Ubuntu Pro Presence ..."
sudo apt install ubuntu-advantage-tools -y &> /dev/null
echo -n "Ubuntu Pro Token : "
read token
echo "[pro] Attaching Token ..."
sudo pro attach $token
sudo pro status
echo "[irp] Terminated."