Update zigbee2mqtt-install.sh

This commit is contained in:
tteckster 2022-03-18 18:56:11 -04:00 committed by GitHub
parent 4ade2bd47e
commit c16703f78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ Restart=always
User=root User=root
[Install] [Install]
WantedBy=multi-user.target" > $service_path WantedBy=multi-user.target" > $service_path
systemctl enable zigbee2mqtt.service &>/dev/null
PASS=$(grep -w "root" /etc/shadow | cut -b6); PASS=$(grep -w "root" /etc/shadow | cut -b6);
if [[ $PASS != $ ]]; then if [[ $PASS != $ ]]; then
echo -en "${GN} Customizing Container... " echo -en "${GN} Customizing Container... "