testan a reboold
This commit is contained in:
+8
-2
@@ -1,5 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
# set -e
|
||||
|
||||
if [ ! -z $SUDO_USER ]; then
|
||||
username=$SUDO_USER
|
||||
else
|
||||
username=$USER
|
||||
fi
|
||||
|
||||
# rpi-update
|
||||
# echo "Updating Raspberry Pi firmware..."
|
||||
@@ -12,7 +18,7 @@ echo -e "Enable I2C Support in raspi-config\n\tInterface Options->I2C->\n\t Woul
|
||||
read -p "Press ENTER to Continue"
|
||||
sudo raspi-config
|
||||
|
||||
echo "Installer1.sh complete" >> ./status.txt
|
||||
echo "Installer1.sh complete" >> /home/$username/Precision-Timekeeping-Fuckery/status.txt
|
||||
|
||||
echo "Part 1 Done!"
|
||||
# echo "Rebooting now!"
|
||||
|
||||
Reference in New Issue
Block a user