wrong path
This commit is contained in:
parent
46f8c36b33
commit
536cdf875b
@ -7,12 +7,12 @@ sudo apt-get install python3-psycopg2 -y
|
|||||||
sudo apt-get install screen -y
|
sudo apt-get install screen -y
|
||||||
|
|
||||||
# Define your job
|
# 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
|
# Check if the job is already in the crontab and add it if it's not
|
||||||
( crontab -l | grep -F "$JOB" || echo "$JOB" ) | crontab -
|
( 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
|
sudo chmod 777 /CNSA/CNSA-276-FP/startup.sh
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -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
|
# 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 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
|
sudo cp /config.bak /CNSA/CNSA-276-FP/config.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user