testan a reboold
This commit is contained in:
+7
-1
@@ -1,13 +1,19 @@
|
||||
#!/bin/bash
|
||||
# set -e
|
||||
|
||||
if [ ! -z $SUDO_USER ]; then
|
||||
username=$SUDO_USER
|
||||
else
|
||||
username=$USER
|
||||
fi
|
||||
|
||||
echo "Fully upgrading, this may take a while..."
|
||||
sudo apt dist-upgrade -y 1>/dev/null
|
||||
|
||||
echo "Cleaning up..."
|
||||
sudo apt autoremove -y 1>/dev/null
|
||||
|
||||
echo "Installer2.sh complete" >> ./status.txt
|
||||
echo "Installer2.sh complete" >> /home/$username/Precision-Timekeeping-Fuckery/status.txt
|
||||
|
||||
echo "Part 2 Done!"
|
||||
# echo "Rebooting now!"
|
||||
|
||||
Reference in New Issue
Block a user