remove kmod

This commit is contained in:
Ing 2024-03-09 15:53:28 +08:00
parent 41f81839ad
commit 8a65e63dd7
5 changed files with 3 additions and 5 deletions

View File

@ -1 +0,0 @@
kmod

View File

@ -326,8 +326,6 @@ function getLogo() {
return 0
}
###############################################################################
# Rebooting
function rebootTo() {

Binary file not shown.

View File

@ -1 +0,0 @@
kmod

View File

@ -190,10 +190,12 @@ done
# Enable Telnet
echo "inetd" >>"${RAMDISK_PATH}/addons/addons.sh"
# Remove function from scripts
[ "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
# ${WORK_PATH}/depmod -a -b ${RAMDISK_PATH} 2>/dev/null # addon eudev will do this
# Copying modulelist
if [ -f "${USER_UP_PATH}/modulelist" ]; then
cp -f "${USER_UP_PATH}/modulelist" "${RAMDISK_PATH}/addons/modulelist"