optimize for CRUX

This commit is contained in:
longpanda
2021-06-09 22:40:08 +08:00
parent 3e47f5e8de
commit 63924fa8bd
2 changed files with 12 additions and 4 deletions

View File

@@ -610,3 +610,10 @@ ventoy_extract_vtloopex() {
cd $vtCurPwd
}
ventoy_check_install_module_xz() {
if [ -f "${1}.xz" ]; then
$BUSYBOX_PATH/xz -d "${1}.xz"
$BUSYBOX_PATH/insmod "$1"
fi
}