mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
#1346 make sure custom-install is executable
This commit is contained in:
parent
5f20890080
commit
604c458749
@ -466,10 +466,12 @@ fi
|
||||
customInstallAvailable=$(sudo ls /mnt/hdd/app-data/custom-installs.sh 2>/dev/null | grep -c "custom-installs.sh")
|
||||
if [ ${customInstallAvailable} -gt 0 ]; then
|
||||
echo "Running the custom install script ..." >> ${logFile}
|
||||
sudo chmod +x /mnt/hdd/app-data/custom-installs.sh
|
||||
sudo /mnt/hdd/app-data/custom-installs.sh >> ${logFile}
|
||||
else
|
||||
echo "No custom install script ... adding the placeholder." >> ${logFile}
|
||||
sudo cp /home/admin/assets/custom-installs.sh /mnt/hdd/app-data/custom-installs.sh
|
||||
sudo chmod +x /mnt/hdd/app-data/custom-installs.sh
|
||||
fi
|
||||
|
||||
# replay backup LND conf & tlscerts
|
||||
|
Loading…
x
Reference in New Issue
Block a user