ramdisk: call disks with usbmount

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-12 20:12:17 +02:00
parent ec875616c0
commit 49ef96ad24

View File

@ -168,7 +168,7 @@ chmod +x "${RAMDISK_PATH}/addons/addons.sh"
for ADDON in "redpill" "revert" "misc" "eudev" "disks" "localrss" "notify" "wol" "updatenotify" "wol" "acpid"; do
PARAMS=""
if [ "${ADDON}" = "disks" ]; then
PARAMS=${HDDSORT}
PARAMS="${HDDSORT} ${USBMOUNT}"
[ -f "${USER_UP_PATH}/${MODEL}.dts" ] && cp -f "${USER_UP_PATH}/${MODEL}.dts" "${RAMDISK_PATH}/addons/model.dts"
fi
installAddon "${ADDON}" "${PLATFORM}" || exit 1