浏览代码

Update motioneye_setup.sh

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

+ 2 - 2
setup/motioneye_setup.sh

@@ -90,8 +90,8 @@ echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
 EOF
  systemctl daemon-reload
  systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
- systemctl enable motioneye
- systemctl start motioneye
+ systemctl enable motioneye &>/dev/null
+ systemctl start motioneye 
 
 echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
  rm -rf /motioneye_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*