+
+function ventoy_img_fwts {
+ vt_load_cpio $vtoy_path "${vt_chosen_path}" ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
+ vt_trailer_cpio ${vtoy_iso_part} "${vt_chosen_path}" noinit
+
+ ventoy_debug_pause
+
+ #boot image file
+ vt_set_boot_opt rdinit=/vtoy/vtoy ventoyos=fwts
+ vt_img_hook_root
+
+ configfile $prefix/distro/fwts.cfg
+
+ vt_img_unhook_root
+ vt_unset_boot_opt
+}
+