mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 23:11:05 +07:00
ramdisk: fix more
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
a4d5e5fdce
commit
eaa206b176
@ -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")
|
[ "2" = "${BUILDNUM:0:1}" ] && sed -i 's/function //g' $(find "${RAMDISK_PATH}/addons/" -type f -name "*.sh")
|
||||||
|
|
||||||
# Build modules dependencies
|
# Build modules dependencies
|
||||||
${WORK_PATH}/depmod -a -b ${RAMDISK_PATH} 2>/dev/null
|
${ARC_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
|
|
||||||
|
|
||||||
# Network card configuration file
|
# Network card configuration file
|
||||||
IPV6="$(readConfigKey "arc.ipv6" "${USER_CONFIG_FILE}")"
|
IPV6="$(readConfigKey "arc.ipv6" "${USER_CONFIG_FILE}")"
|
||||||
|
Loading…
Reference in New Issue
Block a user