#************************************************************************************
function ventoy_power {
- configfile ${vtoy_path}/grub/power.cfg
+ configfile ($root)/grub/power.cfg
}
function get_os_type {
vt_linux_specify_initrd_file /boot/iniramfs.igz
elif [ -f (loop)/initrd-x86_64 ]; then
vt_linux_specify_initrd_file /initrd-x86_64
- elif [ -f (loop)/live/initrd.img ]; then
+ elif [ -f (loop)/live/initrd.img ]; then
vt_linux_specify_initrd_file /live/initrd.img
-
+ elif [ -f (loop)/initrd.img ]; then
+ vt_linux_specify_initrd_file /initrd.img
+
fi
}