mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-05 21:04:58 +08:00
Update InstallNET.sh
This commit is contained in:
parent
b063db52e3
commit
840d015dbc
1 changed files with 1 additions and 1 deletions
|
@ -1022,7 +1022,7 @@ function checkConsole() {
|
|||
done
|
||||
ttyConsole=$(echo "$ttyConsole" | sed 's/.$//' | sed 's/tty0/tty1/g')
|
||||
if [[ "$ttyConsole" =~ "ttyS" ]]; then
|
||||
serialConsolePropertiesForGrub="$ttyConsole earlyprintk=ttyS0,115200n8 consoleblank=0"
|
||||
serialConsolePropertiesForGrub="$ttyConsole,115200n8 earlyprintk=ttyS0,115200n8 consoleblank=0"
|
||||
[[ "$1" == "aarch64" || "$1" == "arm64" ]] && ttyConsole="$ttyConsole,115200n8" || ttyConsole=""
|
||||
elif [[ "$ttyConsole" =~ "ttyAMA" ]]; then
|
||||
serialConsolePropertiesForGrub="$ttyConsole"
|
||||
|
|
Loading…
Add table
Reference in a new issue