UCTRONICS / SKU_RM0004

Raspberry Pi NAS Cluster/Raspberry Pi SATA Cluster
50 stars 32 forks source link

Added missing else statement to launch install_service #33

Closed WhirlyHat closed 8 months ago

WhirlyHat commented 9 months ago

The _deploymentservice.sh script does not appear to do anything when launched. The code below the "Deploy the function service" line (79) tests whether the service exists, and if it does, prompts if you want to reinstall/overwrite. However if the service is not installed, the code will never run the install_service function.

It looks like there is a missing else statement to run the function.

Added the lines:

else
    echo "Installing UCtronics display service"
    install_service