File tree 2 files changed +8
-11
lines changed
2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ kexectype=`echo $entry | cut -d\| -f2`
31
31
kexecparams=` echo $entry | cut -d\| -f3- | tr ' |' ' \n' `
32
32
kexeccmd=" kexec"
33
33
34
- DEBUG " kexectype= $kexectype "
35
-
36
34
cmdadd=" $CONFIG_BOOT_KERNEL_ADD $cmdadd "
37
35
cmdremove=" $CONFIG_BOOT_KERNEL_REMOVE $cmdremove "
38
36
@@ -64,7 +62,6 @@ adjust_cmd_line() {
64
62
}
65
63
66
64
module_number=" 1"
67
-
68
65
while read line
69
66
do
70
67
key=` echo $line | cut -d\ -f1`
82
79
kexeccmd=" $kexeccmd --command-line \" $restval \" "
83
80
elif [ " $kexectype " = " elf" ]; then
84
81
DEBUG " kexectype= $kexectype "
82
+ DEBUG " restval= $restval "
83
+ DEBUG " filepath= $filepath "
85
84
# kexeccmd="$kexeccmd --noefi --console-vga -l $filepath"
86
- kexeccmd=" $kexeccmd --noefi --reuse-video-type -l $filepath "
85
+ # kexeccmd="$kexeccmd --command-line \"$restval vga=current\""
87
86
# kexeccmd="$kexeccmd --noefi --reset-vga -l $filepath"
88
87
# kexeccmd="$kexeccmd --noefi --console-vga --reuse-video-type -l $filepath"
89
88
# kexeccmd="$kexeccmd --noefi --real-mode --console-vga --reuse-video-type -l $filepath"
89
+ # kexeccmd="$kexeccmd -l $filepath --command-line \"$restval vga=current\""
90
+ kexeccmd=" $kexeccmd -l $filepath "
90
91
else
91
92
kexeccmd=" $kexeccmd -l $filepath "
92
93
fi
Original file line number Diff line number Diff line change @@ -85,9 +85,7 @@ search_entry() {
85
85
menuentry* | MENUENTRY* )
86
86
state=" grub"
87
87
reset_entry
88
- name=` echo $line | sed ' s/\.\.\. //' | tr " '" " \" " | cut -d\" -f 2`
89
- TRACE " search_entry: grub menuentry: line= $line "
90
- TRACE " search_entry: grub menuentry: name= $name "
88
+ name=` echo $line | tr " '" " \" " | cut -d\" -f 2`
91
89
;;
92
90
93
91
label* | LABEL* )
@@ -133,9 +131,7 @@ grub_entry() {
133
131
# location.
134
132
DEBUG " grub_entry : linux trimcmd prior of kernel/append parsing: $trimcmd "
135
133
kernel=` echo $trimcmd | sed " s/([^)]*)//g" | cut -d\ -f2`
136
- append=` echo $trimcmd | cut -d\ -f3- | sed ' s/ ---//' `
137
- DEBUG " grub_entry: linux kernel= $kernel "
138
- DEBUG " grub_entry: linux append= $append "
134
+ append=` echo $trimcmd | cut -d\ -f3-`
139
135
;;
140
136
initrd* )
141
137
# Trim off device specification as above
@@ -225,7 +221,7 @@ syslinux_entry() {
225
221
if [ " $kexectype " = " multiboot" -o " $kexectype " = " xen" ]; then
226
222
syslinux_multiboot_append
227
223
else
228
- append=` echo $val | sed ' s/ ---// ' `
224
+ append=" $val "
229
225
fi
230
226
;;
231
227
esac
You can’t perform that action at this time.
0 commit comments