mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
添加 hddsort 到 cmdline
This commit is contained in:
parent
c7299b8158
commit
d8e4842a6d
@ -132,6 +132,7 @@ SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")"
|
||||
MAC1="$(readConfigKey "mac1" "${USER_CONFIG_FILE}")"
|
||||
MAC2="$(readConfigKey "mac2" "${USER_CONFIG_FILE}")"
|
||||
KERNELPANIC="$(readConfigKey "kernelpanic" "${USER_CONFIG_FILE}")"
|
||||
HDDSORT="$(readConfigKey "hddsort" "${USER_CONFIG_FILE}")"
|
||||
USBASINTERNAL="$(readConfigKey "usbasinternal" "${USER_CONFIG_FILE}")"
|
||||
EMMCBOOT="$(readConfigKey "emmcboot" "${USER_CONFIG_FILE}")"
|
||||
MODBLACKLIST="$(readConfigKey "modblacklist" "${USER_CONFIG_FILE}")"
|
||||
@ -236,6 +237,9 @@ CMDLINE['nowatchdog']=""
|
||||
CMDLINE['modprobe.blacklist']="${MODBLACKLIST}"
|
||||
CMDLINE['mev']="${MEV:-physical}"
|
||||
|
||||
if [ "${HDDSORT}" = "true" ]; then
|
||||
CMDLINE['hddsort']=""
|
||||
fi
|
||||
if [ "${USBASINTERNAL}" = "true" ]; then
|
||||
CMDLINE['usbasinternal']=""
|
||||
fi
|
||||
|
@ -31,7 +31,6 @@ KEYMAP="$(readConfigKey "keymap" "${USER_CONFIG_FILE}")"
|
||||
PATURL="$(readConfigKey "paturl" "${USER_CONFIG_FILE}")"
|
||||
PATSUM="$(readConfigKey "patsum" "${USER_CONFIG_FILE}")"
|
||||
ODP="$(readConfigKey "odp" "${USER_CONFIG_FILE}")" # official drivers priorities
|
||||
HDDSORT="$(readConfigKey "hddsort" "${USER_CONFIG_FILE}")"
|
||||
|
||||
DT="$(readConfigKey "dt" "${USER_CONFIG_FILE}")"
|
||||
KVER="$(readConfigKey "kver" "${USER_CONFIG_FILE}")"
|
||||
|
Loading…
x
Reference in New Issue
Block a user