Skip to content

Commit deb3816

Browse files
authored
Create current10-generic.cfg
1 parent 254b60a commit deb3816

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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

0 commit comments

Comments
 (0)