wrong path

This commit is contained in:
EggMan20339 2024-05-07 00:15:00 -04:00
parent 46f8c36b33
commit 536cdf875b
2 changed files with 3 additions and 3 deletions

View File

@ -7,12 +7,12 @@ sudo apt-get install python3-psycopg2 -y
sudo apt-get install screen -y
# Define your job
JOB="@reboot /bin/sh /startup.sh"
JOB="@reboot /bin/sh /CNSA/CNSA-276-FP/startup.sh"
# Check if the job is already in the crontab and add it if it's not
( crontab -l | grep -F "$JOB" || echo "$JOB" ) | crontab -
sudo git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git /CNSA/CNSA-276-FP/
sudo git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git /CNSA/
sudo chmod 777 /CNSA/CNSA-276-FP/startup.sh
echo ""

View File

@ -21,7 +21,7 @@ echo "Internet connection established. Running the portion of the script that re
# Add your code here that requires an internet connection
sudo mkdir /CNSA/CNSA-276-FP/
sudo git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git /CNSA/CNSA-276-FP
sudo cp /config.bak /CNSA/CNSA-276-FP/config.ini