added sudo

This commit is contained in:
EggMan20339 2024-05-06 23:56:05 -04:00
parent f5cc42df08
commit e5ce4e5b3b

View File

@ -12,7 +12,7 @@ JOB="@reboot /bin/sh /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 -
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 chmod 777 /CNSA/CNSA-276-FP/startup.sh sudo chmod 777 /CNSA/CNSA-276-FP/startup.sh