浏览代码

Update zigbee2mqtt-install.sh

tteckster 3 年之前
父节点
当前提交
c16703f78a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup/zigbee2mqtt-install.sh

+ 1 - 1
setup/zigbee2mqtt-install.sh

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