X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/21735f92d60f4432b1de743be6a3adb4e8628726..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