浏览代码

Update zwavejs2mqtt-v3.sh

tteckster 3 年之前
父节点
当前提交
6193f0afca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ct/zwavejs2mqtt-v3.sh

+ 1 - 1
ct/zwavejs2mqtt-v3.sh

@@ -279,7 +279,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
 
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
 if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  warn "Some addons may not work due to ZFS not supporting 'fallocate'."
+  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
 fi
 fi
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 cat <<EOF >> $LXC_CONFIG
 cat <<EOF >> $LXC_CONFIG