mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:59:53 +07:00
tree: some fixes
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
e8b7e4ca28
commit
d2f4bcf7d7
@ -324,6 +324,8 @@ function cmdlineMenu() {
|
||||
0) # ok-button
|
||||
NAME="$(cat "${TMP_PATH}/resp" | sed -n '1p')"
|
||||
VALUE="$(cat "${TMP_PATH}/resp" | sed -n '2p')"
|
||||
[[ "${NAME}" = *= ]] && NAME="${NAME%?}"
|
||||
[[ "${VALUE}" = =* ]] && VALUE="${VALUE#*=}"
|
||||
if [ -z "${NAME//\"/}" ]; then
|
||||
dialog --clear --backtitle "$(backtitle)" --title "User Cmdline" \
|
||||
--yesno "Invalid Parameter Name, retry?" 0 0
|
||||
@ -527,6 +529,8 @@ function synoinfoMenu() {
|
||||
0) # ok-button
|
||||
NAME="$(cat "${TMP_PATH}/resp" | sed -n '1p')"
|
||||
VALUE="$(cat "${TMP_PATH}/resp" | sed -n '2p')"
|
||||
[[ "${NAME}" = *= ]] && NAME="${NAME%?}"
|
||||
[[ "${VALUE}" = =* ]] && VALUE="${VALUE#*=}"
|
||||
if [ -z "${NAME//\"/}" ]; then
|
||||
dialog --clear --backtitle "$(backtitle)" --title "User Cmdline" \
|
||||
--yesno "Invalid Parameter Name, retry?" 0 0
|
||||
|
@ -161,6 +161,8 @@ function bootDSM () {
|
||||
[ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+=","
|
||||
CMDLINE['modprobe.blacklist']+="mpt3sas"
|
||||
fi
|
||||
else
|
||||
CMDLINE['scsi_mod.scan']="sync"
|
||||
fi
|
||||
# CMDLINE['kvm.ignore_msrs']="1"
|
||||
# CMDLINE['kvm.report_ignored_msrs']="0"
|
||||
|
@ -17,6 +17,9 @@ N acpi_call.ko
|
||||
N cpufreq_conservative.ko
|
||||
N cpufreq_ondemand.ko
|
||||
|
||||
# misc
|
||||
N check_signature.ko
|
||||
|
||||
# sensors
|
||||
N coretemp.ko
|
||||
N k10temp.ko
|
||||
|
@ -142,7 +142,7 @@ rm -f "${TMP_PATH}/rp.txt"
|
||||
installModules "${PLATFORM}" "${KVERP}" "${!MODULES[@]}" || exit 1
|
||||
|
||||
# Copying fake modprobe
|
||||
cp -f "${PATCH_PATH}/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
|
||||
[ $(echo "${KVER:-4}" | cut -d'.' -f1) -lt 5 ] && cp -f "${WORK_PATH}/patch/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
|
||||
# Copying LKM to /usr/lib/modules
|
||||
gzip -dc "${LKMS_PATH}/rp-${PLATFORM}-${KVERP}-${LKM}.ko.gz" >"${RAMDISK_PATH}/usr/lib/modules/rp.ko" 2>"${LOG_FILE}" || exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user