X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/9a8d4d0227f2ac11ca5bd7c826c1d9761d0f5bd5..fc5cd0a00a6745d7a8ce31bfadd76e8d064e18a1:/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh b/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh index f78af54..1dde305 100644 --- a/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh @@ -61,3 +61,7 @@ else ventoy_add_udev_rule "$VTOY_PATH/hook/default/udev_disk_hook.sh %k" fi + +if [ -f $VTOY_PATH/ventoy_persistent_map ]; then + $SED "1 aexport cow_label=vtoycow" -i /init +fi