Skip to content

Commit

Permalink
Merge pull request hackerncoder#32 from HoneyHazard/debian-10
Browse files Browse the repository at this point in the history
Added cfg for debian 10 live
  • Loading branch information
hackerncoder authored Apr 7, 2020
2 parents b5df705 + d72b259 commit 88b0b9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mbusb.d/debian.d/live10-generic.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
for isofile in $isopath/debian-live-10*.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
submenu "$isoname (grub.cfg) ->" "$isofile" {
iso_path="$2"
export iso_path
search --set=root --file "$iso_path"
loopback loop "$iso_path"
root=(loop)
configfile /boot/grub/grub.cfg
loopback --delete loop
}
fi
done

0 comments on commit 88b0b9a

Please sign in to comment.