mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
remove kmod
This commit is contained in:
parent
41f81839ad
commit
8a65e63dd7
@ -1 +0,0 @@
|
|||||||
kmod
|
|
@ -326,8 +326,6 @@ function getLogo() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Rebooting
|
# Rebooting
|
||||||
function rebootTo() {
|
function rebootTo() {
|
||||||
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
kmod
|
|
@ -190,10 +190,12 @@ done
|
|||||||
# Enable Telnet
|
# Enable Telnet
|
||||||
echo "inetd" >>"${RAMDISK_PATH}/addons/addons.sh"
|
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")
|
[ "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
|
# ${WORK_PATH}/depmod -a -b ${RAMDISK_PATH} 2>/dev/null # addon eudev will do this
|
||||||
|
|
||||||
# Copying modulelist
|
# Copying modulelist
|
||||||
if [ -f "${USER_UP_PATH}/modulelist" ]; then
|
if [ -f "${USER_UP_PATH}/modulelist" ]; then
|
||||||
cp -f "${USER_UP_PATH}/modulelist" "${RAMDISK_PATH}/addons/modulelist"
|
cp -f "${USER_UP_PATH}/modulelist" "${RAMDISK_PATH}/addons/modulelist"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user