From eaa206b17647f363f751810352f79bd2e2d93dff Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Wed, 17 Jan 2024 16:43:21 +0100 Subject: [PATCH] ramdisk: fix more Signed-off-by: AuxXxilium --- files/initrd/opt/arc/ramdisk-patch.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/files/initrd/opt/arc/ramdisk-patch.sh b/files/initrd/opt/arc/ramdisk-patch.sh index 0348c1a..212ec25 100755 --- a/files/initrd/opt/arc/ramdisk-patch.sh +++ b/files/initrd/opt/arc/ramdisk-patch.sh @@ -186,13 +186,7 @@ echo "inetd" >>"${RAMDISK_PATH}/addons/addons.sh" [ "2" = "${BUILDNUM:0:1}" ] && sed -i 's/function //g' $(find "${RAMDISK_PATH}/addons/" -type f -name "*.sh") # Build modules dependencies -${WORK_PATH}/depmod -a -b ${RAMDISK_PATH} 2>/dev/null -# Copying modulelist -if [ -f "${USER_UP_PATH}/modulelist" ]; then - cp -f "${USER_UP_PATH}/modulelist" "${RAMDISK_PATH}/addons/modulelist" -else - cp -f "${PATCH_PATH}/modulelist" "${RAMDISK_PATH}/addons/modulelist" -fi +${ARC_PATH}/depmod -a -b ${RAMDISK_PATH} 2>/dev/null # Network card configuration file IPV6="$(readConfigKey "arc.ipv6" "${USER_CONFIG_FILE}")"