mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
add arpl_cmdline
This commit is contained in:
parent
324072903f
commit
b0e327047c
@ -66,6 +66,7 @@ function set_gfxpayload {
|
||||
}
|
||||
|
||||
set TERM=tty2
|
||||
set ARPL_CMDLINE=""
|
||||
|
||||
search --set=root --label "ARPL3"
|
||||
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||
@ -86,7 +87,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||
menuentry 'Boot DSM' --id boot {
|
||||
set_gfxpayload
|
||||
echo "Loading kernel..."
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 ${ARPL_CMDLINE}
|
||||
echo "Loading initramfs..."
|
||||
initrd /initrd-arpl
|
||||
echo "Booting..."
|
||||
@ -94,7 +95,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||
menuentry 'Force re-install DSM' --id junior {
|
||||
set_gfxpayload
|
||||
echo "Loading kernel..."
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 force_junior
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 ${ARPL_CMDLINE} force_junior
|
||||
echo "Loading initramfs..."
|
||||
initrd /initrd-arpl
|
||||
echo "Booting..."
|
||||
@ -104,7 +105,7 @@ fi
|
||||
menuentry 'Configure loader' --id config {
|
||||
set_gfxpayload
|
||||
echo "Loading kernel..."
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 IWANTTOCHANGETHECONFIG
|
||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 ${ARPL_CMDLINE} IWANTTOCHANGETHECONFIG
|
||||
echo "Loading initramfs..."
|
||||
initrd /initrd-arpl
|
||||
echo "Booting..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user