From b542207982e79b62dcdd02bdf82179735c6b6ac6 Mon Sep 17 00:00:00 2001
From: tteckster <tteckster@gmail.com>
Date: Mon, 18 Apr 2022 06:20:25 -0400
Subject: [PATCH] Update zigbee2mqtt-v3.sh

---
 ct/zigbee2mqtt-v3.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/ct/zigbee2mqtt-v3.sh b/ct/zigbee2mqtt-v3.sh
index 9833a07d..c1da0388 100644
--- a/ct/zigbee2mqtt-v3.sh
+++ b/ct/zigbee2mqtt-v3.sh
@@ -275,6 +275,7 @@ function start_script() {
 		fi;
 }
 
+PVE_CHECK
 start_script
 
 if [ "$CT_TYPE" == "1" ]; then 
@@ -302,11 +303,6 @@ export PCT_OPTIONS="
 "
 bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
 
-STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
-if [ "$STORAGE_TYPE" == "zfspool" ]; then
-  echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
-fi
-
 LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
 cat <<EOF >> $LXC_CONFIG
 lxc.cgroup2.devices.allow: a