Added option to boot into junior mode

This commit is contained in:
Fabio Belavenuto
2022-07-19 13:53:03 -03:00
parent 75c637a6e4
commit 0e16f96fad
2 changed files with 8 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ fi
# Prepare command line
CMDLINE_LINE=""
grep -q "force_junior" /proc/cmdline && CMDLINE_LINE+="force_junior "
[ ${EFI} -eq 1 ] && CMDLINE_LINE+="withefi "
[ "${BUS}" = "ata" ] && CMDLINE_LINE+="synoboot_satadom=${DOM} dom_szmax=${SIZE} "
CMDLINE_LINE+="console=ttyS0,115200n8 earlyprintk log_buf_len=32M earlycon=uart8250,io,0x3f8,115200n8 elevator=elevator root=/dev/md0 loglevel=15"