Skip to content

Commit e132109

Browse files
committed
arc: add optimized values to automated build
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
1 parent 001bfae commit e132109

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

files/initrd/opt/arc/arc.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,11 @@ function autopremake() {
921921
# Memory: Set mem_max_mb to the amount of installed memory to bypass Limitation
922922
writeConfigKey "synoinfo.mem_max_mb" "${RAMMAX}" "${USER_CONFIG_FILE}"
923923
writeConfigKey "synoinfo.mem_min_mb" "${RAMMIN}" "${USER_CONFIG_FILE}"
924+
# Optimized Synoinfo
925+
writeConfigKey "synoinfo.support_trim" "yes" "${USER_CONFIG_FILE}"
926+
writeConfigKey "synoinfo.support_disk_hibernation" "yes" "${USER_CONFIG_FILE}"
927+
writeConfigKey "synoinfo.support_btrfs_dedupe" "yes" "${USER_CONFIG_FILE}"
928+
writeConfigKey "synoinfo.support_tiny_btrfs_dedupe" "yes" "${USER_CONFIG_FILE}"
924929
# eMMC Boot Support
925930
if [ "${EMMCBOOT}" = "true" ]; then
926931
writeConfigKey "modules.mmc_block" "" "${USER_CONFIG_FILE}"

0 commit comments

Comments
 (0)