more fixes in install script

This commit is contained in:
2024-12-23 01:23:28 +01:00
parent 27a819ee89
commit 90db961397

View File

@ -25,7 +25,7 @@ echo -e "${GREEN}Summary of Configuration:${NC}"
echo -e "${CYAN}Host: $host${NC}" echo -e "${CYAN}Host: $host${NC}"
echo -e "${CYAN}Set UI as default: ${ui_default}${NC}" echo -e "${CYAN}Set UI as default: ${ui_default}${NC}"
echo -e "${CYAN}Do you want to proceed with the installation? (yes/no): ${NC}" echo -e "${YELLOW}Do you want to proceed with the installation? (yes/no): ${NC}"
read proceed read proceed
if [[ ! "$proceed" =~ ^[Yy][Ee][Ss]$ ]]; then if [[ ! "$proceed" =~ ^[Yy][Ee][Ss]$ ]]; then
@ -44,7 +44,7 @@ echo -e "${GREEN}done${NC}"
echo -e "${GREEN}setting up openems system service...${NC}" echo -e "${GREEN}setting up openems system service...${NC}"
# setup openems service # setup openems service
wget -O /etc/systemd/system/openems.service https://git.mumme-it.de/Mumme-IT/openems-build/src/branch/main/installation/openems.service sudo wget -O /etc/systemd/system/openems.service https://git.mumme-it.de/Mumme-IT/openems-build/src/branch/main/installation/openems.service
# setup openems config dir # setup openems config dir
sudo mkdir -p /etc/openems.d sudo mkdir -p /etc/openems.d