From ad211a0ace619d305e8b4f289933ebacf47594ea Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 2 Aug 2024 21:41:16 +0200 Subject: [PATCH] disks: modify power_limit Signed-off-by: AuxXxilium --- disks/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disks/install.sh b/disks/install.sh index 26fd00c..6042242 100755 --- a/disks/install.sh +++ b/disks/install.sh @@ -283,7 +283,7 @@ function dtModel() { echo " pcie_root = \"${PCIEPATH}\";" >>${DEST} echo " port_type = \"ssdcache\";" >>${DEST} echo " };" >>${DEST} - POWER_LIMIT="${POWER_LIMIT},0" + POWER_LIMIT="${POWER_LIMIT},100" fi done [ -n "${POWER_LIMIT:1}" ] && sed -i "s/power_limit = .*/power_limit = \"${POWER_LIMIT:1}\";/" ${DEST} || sed -i '/power_limit/d' ${DEST}