From 536cdf875b2cee8bc72c23f2a4d39713a0088433 Mon Sep 17 00:00:00 2001 From: EggMan20339 <99349302+EggMan20339@users.noreply.github.com> Date: Tue, 7 May 2024 00:15:00 -0400 Subject: [PATCH] wrong path --- install.sh | 4 ++-- startup.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 50d35a9..f10ced1 100644 --- a/install.sh +++ b/install.sh @@ -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 "" diff --git a/startup.sh b/startup.sh index 85cea66..4216579 100644 --- a/startup.sh +++ b/startup.sh @@ -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