-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
File inc-kaspersky.cfg
function add_menu {
isofile="$1"
regexp \
--set 1:isoname \
"^${isopath}/kaspersky/(.+\.iso)\$" "${isofile}"
menuentry "${isoname}" "${isofile}" "${isoname}" --class kaspersky {
set isofile=$2
set isoname=$3
use "${isoname}"
loop $isofile
change_root (loop)
# set iso_path=$isofile
# export iso_path
configfile /boot/grub/grub.cfg
restore_root
}
}
for_each_sorted add_menu "$isopath"/kaspersky/krd*.iso
Metadata
Metadata
Assignees
Labels
No labels