File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ for isofile in $isopath/debian-live-10*.iso; do
2+ if [ -e " $isofile" ]; then
3+ regexp --set =isoname " $isopath/(.*)" " $isofile"
4+ submenu " $isoname (grub.cfg) ->" " $isofile" {
5+ iso_path =" $2"
6+ export iso_path
7+ search --set =root --file " $iso_path"
8+ loopback loop " $iso_path"
9+ root =(loop)
10+ configfile /boot/grub/grub.cfg
11+ loopback --delete loop
12+ }
13+ fi
14+ done
15+ for isofile in $isopath/debian-10*.iso; do
16+ if [ -e " $isofile" ]; then
17+ regexp --set =isoname " $isopath/(.*)" " $isofile"
18+ submenu " $isoname (grub.cfg) ->" " $isofile" {
19+ iso_path =" $2"
20+ export iso_path
21+ search --set =root --file " $iso_path"
22+ loopback loop " $iso_path"
23+ root =(loop)
24+ configfile /boot/grub/grub.cfg
25+ loopback --delete loop
26+ }
27+ fi
28+ done
You can’t perform that action at this time.
0 commit comments