File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ for isofile in $isopath/debian-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
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
You can’t perform that action at this time.
0 commit comments